little to the right
This commit is contained in:
parent
4e49b25360
commit
ca9a859e75
1 changed files with 1 additions and 1 deletions
|
|
@ -52,7 +52,7 @@ import '../css/app.css';
|
||||||
let num_clouds_in_cluster = (Math.floor(num_clouds / num_clusters));
|
let num_clouds_in_cluster = (Math.floor(num_clouds / num_clusters));
|
||||||
for (let i = 0; i < num_clouds; i++) {
|
for (let i = 0; i < num_clouds; i++) {
|
||||||
if (i % num_clouds_in_cluster === 0) {
|
if (i % num_clouds_in_cluster === 0) {
|
||||||
cluster_x = 100 + Math.random() * width;
|
cluster_x = 200 + Math.random() * width;
|
||||||
cluster_y = 100 + Math.random() * height;
|
cluster_y = 100 + Math.random() * height;
|
||||||
cluster_size = Math.random() * 150;
|
cluster_size = Math.random() * 150;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue