cloud size
This commit is contained in:
parent
9f73b39e87
commit
029260939d
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@ import '../css/app.css';
|
|||
let width = window.innerWidth,
|
||||
height = window.innerHeight;
|
||||
const num_clouds = 200;
|
||||
let size_factor = Math.random() * 1000 + 1500,
|
||||
let size_factor = Math.random() * 1000 + 2500,
|
||||
max_cloud_size = (width * height) / size_factor,
|
||||
max_speed_x = 50,
|
||||
max_speed_y = 30,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue