Guides
One task per page, for developers who have done the quickstart, with the smallest code that does the job.
New to the SDK? Do the quickstart first. Connecting a system of your own? Start with How your system connects. Each guide does one task and ends with what you have when it is done.
Connect data
How your system connects
What connects today, which guide fits what you run, and what is integration work.
Connect server data to your browser scene
Read a system with its credential on your server and show the reading on an object in the browser. Runnable.
Connect MQTT devices
Readings from a broker into shadows and twins, and commands back to the device.
Receive webhooks
A verified endpoint that turns signed pushes into readings.
Connect a polling API
Read a vendor endpoint on an interval, validate the payload, route it to shadows.
Style objects by readings
Colour, scale, pose and label objects by their state, and show when a sensor goes quiet.
Models and maps
Draw a place from a map
Footprints, roads and zones as Scene Objects: a building block, an area, a line.
Import models
glTF, FBX, OBJ, STL and six more formats as Scene Objects, placed, scaled and replaced.
Show a Gaussian splat
A place or an object captured as a Gaussian splat, SPZ or PLY, beside the models of a scene.
Stream 3D Tiles around a scene
A city model or a mesh as context, placed on Earth and streamed as the camera moves.
Show a building as BIM
A building streamed as 3D Tiles, its storeys, rooms and elements as objects, in three readers.
Group objects into a compound
A whole made of parts: turn the whole and its parts follow, edit a part and only the part changes.
Views and interaction
Navigation and selection
Where the pointer is on Earth, dragging an object, and the camera from your own buttons.
Light and arrange a scene
The light of a time of day, handles that move, turn and scale an object, and sounds at places.
Walk a scene in VR
What a visitor needs, the desktop preview, and walking a scene with a headset.
Sharing and access
Give a team its own view
Worlds: a crew sees and acts on its district only; everything is audited.
Choose what visitors can see
Build the filtered package a public view shows, through a declared filter.
Embed a published world
A published Klorad One world inside your site, or the scene inside your application: what each takes today.
Advanced SDK behaviour
Act on a twin
Define an Action that sends a command to a device, and see the twin follow.
Run operations and procedures
Versioned operations with effect classes, the command life cycle, undo and compensation.
Raise alerts
Rules over readings and Actions, delivered to the Worlds that may see them.
Save, load and edit a scene
Pack a scene, load only what a view needs, and edit on revisions with conflicts.
Test with a manual clock
Deterministic tests of staleness and ordering with node:test.
Something wrong or unclear? Tell us.
Troubleshooting
What to check when the packages do not install, the 3D view stays empty, a model does not load, or readings do not arrive.
Try Klorad One with the sample building
From an empty Project to a building whose equipment reports live, with a fault you can see where it stands. No file and no system of your own are needed; the building and its data are simulated.