little to the right

This commit is contained in:
Sander Hautvast 2022-12-09 16:33:16 +01:00
parent 4e49b25360
commit ca9a859e75

View file

@ -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;
} }