Online Playground (Chrome/Firefox)
Atom plugin
Reference
Marching.js is a JavaScript shader compiler specifically focused on ray marching via signed distance functions. The goals of this project are:
- Expose beginning programmers to constructive solid geometry (CSG) concepts
- Enable JS programmers to explore CSG without having to learn GLSL
- Provide a terse API suitable for live coding performance
Marching.js builds on the work of many other people.
The library is compiled using gulp. Run npm install
to install all necessary dependencies, and then npm run build
to build the library.