marching
v1.1.4
Published
Marching.js is a JavaScript library that compiles GLSL ray marchers.
Downloads
45
Maintainers
Readme
marching.js
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.
Development
The library is compiled using gulp. Run npm install
to install all necessary dependencies, and then npm run build
to build the library.