MarchingCubes.js

Procedual Mesh Generation

Javascript, Three.JS

June 2024

Implementation of the Marching Cubes algorithm in the Three.js framework. Complex procedural mesh generation based on cubes in a scalar field. Seemless intergration with existing Three.js functions and objects.

Inspired by Paul Bourke's Polygonising a Scalar Field(1997). As well as, Sebastian Lague's Coding Adventure: Marching Cubes (2019).

MarchingCubes.js0MarchingCubes.js1MarchingCubes.js2MarchingCubes.js3MarchingCubes.js4