Getting started
Build a web application
Install @fslabs/spatialengine to run the engine inside your page. The package includes the
WebAssembly engine, TypeScript SDK, and viewport element. Use it with your existing UI framework.
Install the package and draw your first scene. Browser deployment covers serving its assets with your app.
The demos on this site are browser applications built with this npm package. Try Shape Zoo for scene geometry or Streaming Block Model for streamed spatial data.
Build a native application or use Python libraries
Run the native engine as a separate process and control it from your application. This gives Python code access to its usual libraries and local files. You can embed the engine’s viewport in your own UI or run data processing without rendering.
Get the engine binary and matching Python wheel, then connect with Python. For another language, use the engine’s protobuf schema and gRPC reflection to generate a client.
Embed a viewport covers displaying the engine in your application. Headless automation covers processing data without a viewport.
Build with an AI coding agent
Use SpatialStudio’s built-in AI coding agent to rapidly prototype or build a web or native app with SpatialEngine and SpatialDrive. You can work with the agent with or without programming experience. Studio hot reloads the app as the agent makes changes.
Install Studio and run your first app.
Share projects between users
Add SpatialDrive when your application needs shared project history, access control, or streamed spatial data. It works with both native and browser engines. Deploy it in your infrastructure with PostgreSQL, blob storage, and an identity provider.
Set up the server, deploy on AWS, or connect your application.
Run a workflow inside the engine
Package the workflow as a sandboxed WebAssembly component. Your application loads it and asks the engine to execute it. The workflow calls the engine’s statement API from inside the sandbox.