auto-claude: subtask-1-2 - Replace Math.random() with deterministic durations
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -32,7 +32,7 @@ export function FloatingPaths({ position }: { position: number }) {
|
|||||||
pathOffset: [0, 1, 0],
|
pathOffset: [0, 1, 0],
|
||||||
}}
|
}}
|
||||||
transition={{
|
transition={{
|
||||||
duration: 20 + Math.random() * 10,
|
duration: 20 + (path.id % 3) * 5,
|
||||||
repeat: Number.POSITIVE_INFINITY,
|
repeat: Number.POSITIVE_INFINITY,
|
||||||
ease: "linear",
|
ease: "linear",
|
||||||
}}
|
}}
|
||||||
|
|||||||
Reference in New Issue
Block a user