A WebGPU-based signed distance field (SDF) renderer with interactive shape manipulation.
- A modern browser with WebGPU support (Chrome 113+, Edge 113+, or Safari 18+)
- A local web server (required to load shader files)
python3 -m http.server 8000Then open http://localhost:8000 in your browser.
If you have Node.js installed:
npx http-server -p 8000Then open http://localhost:8000 in your browser.
If you're using VS Code, install the "Live Server" extension and click "Go Live" in the status bar.
- Interactive SDF rendering with circles and squares
- Drag and drop shapes with your mouse
- Smooth blending between overlapping shapes