Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Update shimmer-dots.tsx

Tim Wilson8dae37b9b86b
diff --git a/packages/ui/src/shimmer-dots.tsx b/packages/ui/src/shimmer-dots.tsx
index 9aa77acb94..71d650d918 100644
--- a/packages/ui/src/shimmer-dots.tsx
+++ b/packages/ui/src/shimmer-dots.tsx
@@ -29,7 +29,7 @@ void main(void) {
vec2 uv = gl_FragCoord.xy;
vec2 cellUv = vec2(int(uv.x / cellSize), int(uv.y / cellSize));
- float id = random(cellUv);
+ float id = random(cellUv + 1.0);
float fadeEffect = (sin(time * speed + id * 20.0) + 1.0) * 0.5;