This is an interactive WebGL demo of the Cubical Marching Squares (CMS) algorithm for adaptive isosurface extraction.
Algorithm credits:
The original CMS algorithm was proposed by Ho et al. in 2005:
Cubical Marching Squares: Adaptive Feature Preserving Surface Extraction from Volume Data (Ho et al., 2005, EG)
Code credits:
This app is a loose, partial JavaScript/WebGL translation of the original C++ implementation by George Rassovsky:
GC Rassovsky's CMS C++ Implementation (Blog)
Direct link to the original code (Bitbucket)
Thesis PDF
This translation is not a full, line-by-line port, but rather a partial and adapted implementation for educational and visualization purposes.
Some algorithmic details, optimizations, and features may differ from both the original paper and the reference C++ code.
If you use this app or code for research or derivative work, please cite the original paper and the reference implementation.