A procedural geometry implementation using Three.js