mirror of
https://github.com/RGBCube/Site
synced 2025-08-01 13:37:49 +00:00
blog: fix xFactor
This commit is contained in:
parent
638cfff96b
commit
f889ca595b
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ Blog Articles
|
||||||
});
|
});
|
||||||
|
|
||||||
const randomStrip = () => ({
|
const randomStrip = () => ({
|
||||||
xFactor: Math.random() * 0.95,
|
xFactor: Math.random() * 0.90 + (1 - 0.90) / 2,
|
||||||
y: Math.random() * -window.innerHeight - 100,
|
y: Math.random() * -window.innerHeight - 100,
|
||||||
deltaY: Math.random() * 1.7 + 1,
|
deltaY: Math.random() * 1.7 + 1,
|
||||||
size: Math.floor(Math.random() * 16) + 8,
|
size: Math.floor(Math.random() * 16) + 8,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue