SDF-UI
Experimental node-based UI for generating SDF shaders in a browser
Live: https://sdf-ui.firebaseapp.com
Made with react, react-gl, redux and immutable. Most of the code is intentionally left without any optimisations, to be used as starting point for building other graph-based UIs.
Run
- clone this repo
yarn
ornpm install
yarn run start
ornpm start
Build
yarn run build
ornpm run build
TODO
- make math operations work on vec3 as well as float - this will require inputs that can accept both floats and vec3s
- add a way to "unpack" vec3 into three floats, process them, and pack again
- overwrite connections instead of blocking if there's already one made