Spaces:
Paused
Paused
Download node_modules/@plotly/mapbox-gl/src/shaders/heatmap_texture.vertex.glsl from Leon4gr45/UserSyncFrontend: direct link, hf CLI and curl.
- Browser
- Download file 215 Bytes
-
https://huggingface.co/spaces/Leon4gr45/UserSyncFrontend/resolve/main/node_modules/%40plotly/mapbox-gl/src/shaders/heatmap_texture.vertex.glsl
- Command line
-
hf download hf://spaces/Leon4gr45/UserSyncFrontend/node_modules/@plotly/mapbox-gl/src/shaders/heatmap_texture.vertex.glsl
-
curl -L -o heatmap_texture.vertex.glsl https://huggingface.co/spaces/Leon4gr45/UserSyncFrontend/resolve/main/node_modules/%40plotly/mapbox-gl/src/shaders/heatmap_texture.vertex.glsl
215 Bytes
| uniform mat4 u_matrix; | |
| uniform vec2 u_world; | |
| attribute vec2 a_pos; | |
| varying vec2 v_pos; | |
| void main() { | |
| gl_Position = u_matrix * vec4(a_pos * u_world, 0, 1); | |
| v_pos.x = a_pos.x; | |
| v_pos.y = 1.0 - a_pos.y; | |
| } | |