realityos
v0.45.6
Published
RealityOS SDK — three.js-idiomatic API over the RealityOS core
Readme
RealityOS SDK
A TypeScript API over the RealityOS engine for spatial applications.
The package will be published publicly on npm as realityos.
Install
Publication pending: the first public npm release has not happened yet.
The command below becomes available after that release. Until then, use a
source checkout following ONBOARDING.md in the repository.
npm install realityosEntrypoints
import { Engine, Scene, PerspectiveCamera } from 'realityos';
import { WebPlatform } from 'realityos/web';
import { HexBoard, findPath } from 'realityos/strategy';realityos: engine, scene, objects, materials and runtime-agnostic core.realityos/web: browser platform, input, audio, video and UI adapters.realityos/strategy: runtime-agnostic hex-grid, pathfinding and tile-map helpers.
Browser rendering requires WebGPU, a compatible GPU/driver, and a secure context
(HTTPS or localhost). Use a bundler that serves the included WebAssembly and
AudioWorklet assets. TypeScript browser consumers need the DOM libraries enabled. If specifying an
explicit TypeScript lib list, include ESNext.Disposable for the generated
WebAssembly disposal declarations (for example, ES2022, ESNext.Disposable,
DOM and DOM.Iterable).
Importing the package in Node does not initialize a renderer; rendering starts
when an engine is created.
Distributed files and source maps
The package includes built ESM JavaScript, TypeScript declarations, engine and audio WebAssembly, the denoiser worklet, the prepack script, third-party notices, this README and the license. Tests and internal documentation are excluded.
Published packages contain no source maps or sourceMappingURL comments in
JavaScript or declarations. Original TypeScript source files are not shipped.
Local builds still generate maps; packing removes mapping comments from dist/
and retains the local map files. Rebuilding restores the comments.
License
Copyright (c) 2026 TMRW. All rights reserved. This SDK is proprietary. Free evaluation is permitted under the RealityOS SDK Evaluation Terms, including prototypes and internal tests, with no time limit.
Production use, public or customer distribution, and paid services require
a separate commercial licence. See LICENSE.md for the full terms and
dist/NOTICE.md for third-party licenses and attribution.
