Overview of Pascal Editor Architecture
mainThe Pascal Editor architecture is organized into several specialized domains. When working with core packages like @pascal-app/core, @pascal-app/viewer, @pascal-app/editor, or @pascal-app/mcp, developers should follow the canonical rules defined in the architecture documentation.
Key architectural domains include:
- Rendering & Layers: Three.js layer constants and rendering separation.
- Systems & Renderers: Core/viewer systems and the node renderer pattern.
- Node Management: Node definitions (geometry/renderer/system composition), node schemas (Zod-based), and the Scene Registry.
- Interaction & Tools: The
InteractionScopestate machine, editor tools, and spatial queries (placement validation). - Selection: Two-layer selection (viewer + editor) and selection groups.
- Content Authoring: Contracts for GLB catalog items and plugin authoring.