chore: improve line spreading alogrythm
This commit is contained in:
1 parent
66a5fd84ae
commit
20f625be60
1 file changed
+2
-2
@@ -19,8 +19,8 @@
|
|||||||
return {
|
return {
|
||||||
width: rand(180, 320) * scale,
|
width: rand(180, 320) * scale,
|
||||||
height: rand(16, 32) * scale,
|
height: rand(16, 32) * scale,
|
||||||
x: ((i * (180 / COUNT)) % 180) - 80,
|
x: (i / COUNT) * 200 - 50,
|
||||||
y: rand(-80, 100),
|
y: ((i * 137.5) % 100) - 20,
|
||||||
opacity: 0.25 + depth * 0.65,
|
opacity: 0.25 + depth * 0.65,
|
||||||
duration,
|
duration,
|
||||||
delay: rand(0, duration),
|
delay: rand(0, duration),
|
||||||
|
|||||||
Reference in new issue
Block a user