diff --git a/assets/index.html b/assets/index.html
index c0bfa4b..f0a6568 100644
--- a/assets/index.html
+++ b/assets/index.html
@@ -70,6 +70,16 @@
this.init();
}
+ init() {
+ const spacing = 40;
+ for (let x = -200; x <= 200; x += spacing) {
+ for (let z = -200; z <= 200; z += spacing) {
+ const y = Math.sin(x / 30) * 20 + Math.cos(z / 30) * 20 + Math.random() * 10;
+ this.points.set(`${x},${z}`, new Point3D(x, y, z));
+ }
+ }
+ }
+
getKey(x, z) {
return `${Math.round(x / this.gridSize)},${Math.round(z / this.gridSize)}`;
}