KloradDocs

Overview

The ideas behind the Klorad API, one per page, in the order the code builds on them.

Klorad's API is not a collection of features. It is one model, taken from the doctoral thesis behind Klorad, and every export maps to a class in it. Once you know the model, the API is predictable: you can guess where a capability lives and what it may and may not do.

Access@klorad/accessHow people and devices reach the world: Worlds, entitlement, audit.
Integration@klorad/api/integrationHow the world is coupled to reality: sources, devices, connectors.
World@klorad/api/worldOwns meaning. Pure TypeScript: no React, no renderer, no database.SpaceTimePhysical correspondenceInteraction and actuation
Renderers@klorad/engine-threeDraw what World defines.
Bindings@klorad/reactDeclare objects, read state with hooks.
World never imports the layers around it. Apps change world state only through it.

Read these pages in order the first time. Each one explains one idea, shows the smallest code that uses it, and links to the sandbox page that runs it.

Something wrong or unclear? Tell your contact at Prieston Technologies.