
光学平台ground
parts/bench.tsx
A black optical table with its grid of threaded holes in a dark lab; glass stands on steel posts and the beams are computed through it by Snell's law, one colour at a time.
适合 every scene: how prisms and lenses treat light, in the plane of the beam
view: {yaw, pitch, dist, tx, ty, tz}from: [x, z]aim: numbercolors: number[]reach: numberoptics: Optic[]children: ReactNode

问题标题title
parts/heading.tsx
The question in heavy white, top left, over the dark of the lab; it leaves once the light is on.
适合 stating what the experiment will answer
text: stringat: [x, y]size: numbershow: progress

折射率读数data
parts/spectrum.tsx
A thin row of three colours, each with its wavelength and the refractive index the trace really used.
适合 showing the numbers behind what a beam does
at: [x, y]source: stringshow: progress

公式行term
parts/law.tsx
The one law at work, set in mono on a thin rule with a word on what it says, so the viewer knows the picture is calculated.
适合 Snell's law, the thin-lens equation, the one formula a film rests on
at: [x, y]law: ReactNodesays: stringshow: progress

平台标注term
parts/tag.tsx
A dot on a point in the 3D scene that stays on it as the camera moves, a hairline to a thin rule, and the name in white with a figure in mono under it.
适合 naming an element or a beam on the word it is said
view: Viewon: [x, y, z]at: [x, y]width: numbertext: stringnote: stringcolor: stringt: progress

角度弧mark
parts/angle.tsx
A thin arc drawn in the plane of the beams between two directions, seen in true perspective, with its size in degrees at the end of it.
适合 how far a beam turned, how wide a fan is, the angle in the law
view: Viewat: [x, z]y: numberfrom: numberto: numberr: numbertext: stringt: progress