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