ay;
            for (let i = 0; i < arr.length; i += 3) {
                arr[i+2] = 0; // set z value (height) to zero
            }
            position.needsUpdate = true;

            mesh.rotation.x = - Math.PI/2;
            mesh.material.side = THREE.DoubleSide;
        });
        render();
    })();
    </script>
</body>
</html>
