bun install
bun dev- Next.js 16
- Three.js
- R3F
The application includes a dynamic viewer that can load and display building layouts from JSON files:
- Main Viewer:
/viewer- Displays the current project saved in IndexedDB - Dynamic Viewer:
/viewer/[id]- Loads and displays demo layouts from/public/demos/[id].json
To add a new demo:
- Export a layout from the editor (JSON format)
- Save it in
/public/demos/with a unique ID as filename (e.g.,[id].json) - Access it at
/viewer/[id]
Example: /viewer/kV1ve8Sd loads /public/demos/kV1ve8Sd.json