Github Repository: https://github.com/olimot/marching-cubes
CPU version (typescript): CPU-based implementation of the Marching Cubes algorithm in TypeScript, generating a static mesh at a fixed isolevel during initialization, designed for simplicity and educational purposes despite its slower performance
GPU version (webgl2): A GPU-accelerated implementation of the Marching Cubes algorithm using a vertex GLSL shader, where a 3D texture representing the scalar field is processed directly in the shader, and drawArrays() is used with a maximum vertex count while non-existent triangles are efficiently discarded based on the input field.