Open-source example
Prism Light
A 2-D application for generative geometry and spectral light-tracing — design with nodes, animate any property, and render real light. Built on the Prism Foundation.
Generative geometry, real light
Prism Light is an open-source 2-D application for generative geometry and spectral light-tracing: build shapes with a node graph, animate any property, and render actual light transport. It is a complete creative tool — and, because it is open source, the fullest worked example of the whole Foundation running together.
What it shows off
Light exercises nearly every part of the stack at once:
- The document is a Prism scene. Objects, materials, lights and their generator graphs are all prims with typed properties; the file you save is a
.prisma(or compressed.prism) Document. Nothing about the app's state lives outside the document. - The node graph is the document's connections. Each generator and operator is a prim; each wire is a connection between property paths. The node editor is a view of the Document's graph, not a parallel data structure — drag a node, rewire a socket, and you are editing the document directly.
- Animation is time-samples. Keyframe any numeric property and the evaluator interpolates it; the same axis moves a generator's parameter and a light's intensity over time.
- The interface is Prism UI; the window and GPU are Prism Platform. Outliner, inspector, node editor, viewport and timeline are all built from the toolkit, drawn through the RHI.
Why it matters as an example
A generative tool is a demanding test of a data model: it has hierarchy (a scene), dataflow (the node graph), animation (time), and heavy numeric arrays (geometry and rendered images). Prism Light is the demonstration that one model carries all of it without a special case — the tree, the graph and the timeline are the same prims, read three ways, and the rendered output is just typed value arrays.
It is also where the agentic story gets vivid: because the scene is an ordinary Prism document, the Prism Server can drive it, so an agent can author or adjust a generative scene — "add three more rings and animate their radius" — against the same Document you are editing by hand.
Status
Prism Light is in active development and will be released as open source. Read it as the reference for assembling Core, UI and Platform into a real, document-backed creative application — and as the proof that the scene, the graph, and the animation a creative tool needs are all just one Prism document.