// summary
Pascal is a 3D building editor built with React Three Fiber and WebGPU, organized as a Turborepo monorepo. It utilizes a centralized Zustand store for state management and a registry system to map data nodes to 3D objects. The architecture features specialized systems that process dirty nodes in the render loop to dynamically update geometry and scene transforms.
// technical analysis
Pascal Editor is a 3D building design application architected as a Turborepo monorepo, leveraging React Three Fiber and WebGPU for high-performance rendering. It addresses the complexity of building modeling by utilizing a reactive, system-based architecture where scene state is decoupled from 3D object representation via a registry and a dirty-node tracking system. This design choice ensures efficient updates by only recomputing geometry for modified nodes, while the use of Zustand stores provides a robust, undo-capable state management layer for complex architectural hierarchies.
// key highlights
// use cases
// getting started
To begin, clone the repository and run 'bun install' from the root directory to set up the monorepo dependencies. Execute 'bun dev' from the root to start the development server, which automatically builds and watches the core and viewer packages for hot-reloading. You can then access the editor interface by navigating to http://localhost:3000 in your browser.