Skip to content

Add OpticsScene.fromJSON() for scene deserialization Implements a static fromJSON() counterpart to toJSON(), enabling saved scenes to be fully restored. Covers all 19 element types (light sources, mirrors, glass, blockers, gratings). Unknown types are silently skipped for forward-compatibility. Also exports the previously missing ContinuousSpectrumSource and CircleBlocker from the model barrel (index.ts). https://claude.ai/code/session_01P82AYHGaNXToVsaiMCnKEv - #6

Merged
veillette merged 1 commit into
mainfrom
claude/add-scene-deserialization-emmob
Mar 17, 2026

Add OpticsScene.fromJSON() for scene deserialization

3ac9f55
Select commit
Loading
Failed to load commit list.

Select a check to view from the sidebar