Examples
These scripts are grouped by visual primitive or workflow.
General
box.js- Runbox-tex.js- Runbox-instanced-grid.js- Runtex-map.js- Runcmp-noise.js- Runcmp-stack.js- Run
Line loop
Lines
Line strip
linestrip/thread.js- Run
Points
points/dots.js- Runpoints/grid.js- Runpoints/noise.js- Runpoints/noise-flow.js- Runpoints/squares.js- Run
Running examples locally
- Start the local dev server:
npm ci
npm run dev
- Edit
dev/index.jsto load one of these files, or paste snippets into your host app using the same APIs.
For an immediate zero-edit sanity check, open examples/quickstart.html in a static server that serves the repository root (it expects ../dist/triode.js).