@found-in-space/hr-diagram
v0.2.0
Published
Reusable HR diagram data, canvas, WebGL, and touch-os helpers for Found in Space star cells
Downloads
54
Readme
@found-in-space/hr-diagram
Reusable alpha HR diagram helpers for Found in Space star cells.
This package consumes StarCellData values and StarCellDelta lifecycle
events. It does not load octrees, plan demand, or own strategies. Live,
volume, and warm/lookahead demand should be expressed through the shared
strategy contract and requested through @found-in-space/star-octree-provider,
then applied to the HR renderer/store.
The package has two rendering paths:
- WebGL/Three.js for high-volume interactive diagrams.
- Canvas 2D for small static teaching views and fallback rendering.
The optional @found-in-space/hr-diagram/touch-os subpath publishes the WebGL
renderer as a composite embedded surface, matching the high-performance surface
pattern used by touch-os.
For the composed SkyKit example, see
../skykit/examples/hr-diagram-free-roam/.
