Introduction
Relu Spatial is a desktop first 3D editor and runtime for building interactive AR / VR / spatial experiences. It combines a visual scene editor with a TypeScript scripting API powered by an entity component system (ECS) runtime, so you can author scenes visually and drive them with code that runs the same way in preview and in production.
You compose scenes from entities, meshes, lights, cameras, image targets, and custom prefabs and you bring them to life with Behaviour scripts that read input, query the world, and mutate components every frame.

What you can build
- Image-tracking experiences that anchor 3D content to printed images.
- Face-tracking filters that follow facial features.
- 3D, and VR / AR scenes.
- Standalone web deployable spatial scenes.
How the pieces fit together
| Layer | What it does |
|---|---|
| Editor | Desktop application where you author scenes, import assets, and configure components. |
Runtime (npm package @relu-interactives/spatial-ecs) | The ECS engine that powers both the editor's preview and your published builds. |
| Behaviours | Your TypeScript scripts attached to entities, dispatched every frame by the runtime. |

