Skip to content

Example Catalog

Source lives in examples/src/, registered by registry.tsx.

Tables below grouped by group, aligned with dev-roadmap.md milestone Examples entries. Link to a demo: /demos/#<id> (e.g. /demos/#reactive/value-tracker).

Phase-1 (v0.1)

Scaffold / smoke

IDMilestoneDescription
_template/empty-canvasM0Minimal empty Canvas
_smoke/static-circleM0Static circle smoke test

timeline

IDMilestoneDescription
timeline/seek-basicsM1seek / rate / reverse
timeline/headless-evalM1Node headless evaluation
timeline/markers-slidesM1marker chapter jumps

geometry

IDMilestoneDescription
geometry/primitives-galleryM2All primitives overview
geometry/sampling-debugM2Sampling / bounds / triangulation

render

IDMilestoneDescription
render/stroke-fill-showcaseM3Three rows: static fill / stroke reveal / Create
render/zorder-transparencyM3z-order and transparency
render/dpi-resizeM3HiDPI + resize

anim

IDMilestoneDescription
anim/create-fade-moveM4Create / Fade / Move / Rotate / Scale
anim/sequence-parallel-staggerM4Orchestration comparison
anim/easing-galleryM4Easing curves

coords

IDMilestoneDescription
coords/cartesian-axesM5getAxes + fade
coords/fit-strategiesM5contain / cover / stretch
coords/polar-sceneM5Polar coordinates

reactive

IDMilestoneDescription
reactive/value-trackerM6§8.2 inscribed rectangle
reactive/leva-bindingM6Leva → Signal

L1 gate

IDMilestoneDescription
l1/basic-2dL1§19.1 basic 2D narrative
l1/interactive-sineL1§19.2 interactive function curve

Phase-2 (v0.2 · math toolbox)

scale

IDMilestoneDescription
scale/scale-playgroundM7linear/log/pow/time comparison + ticks/format
scale/log-plotM7Log-scale plotting

math

IDMilestoneDescription
math/axes-functiongraphM8Axes + FunctionGraph/Parametric, c2p alignment
math/riemann-sumM8Riemann rectangles converge with n
math/tangent-derivativeM8Tangent at moving point, live slope
math/matrix-table-braceM8Matrix/Table/Brace + DecimalNumber
math/planesM8NumberPlane / PolarPlane / ComplexPlane

morph

IDMilestoneDescription
morph/shape-morphM9arc-length / anchor transform
morph/contour-mismatchM9contour padding + cross-fade fallback
morph/matching-shapesM9transformMatching part matching

text / latex

IDMilestoneDescription
text/writingM10Text stroke-by-stroke writing
text/writing-strategiesM10sequential / simultaneous / per-glyph writing strategies
text/multi-font-writingM10Multi-font mixed writing
text/font-scaleM10Vector glyph multi-size
latex/latex-writingM10LaTeX formula stroke-by-stroke writing
latex/transform-matching-texM10Formula part morph

interaction

IDMilestoneDescription
interaction/draggable-bezierM11Drag control points, live Bézier recompute
interaction/hit-testingM11Precise hit on thin lines/rings
interaction/explorable-derivativeM11Drag x to explore tangent/derivative

layout / devtools

IDMilestoneDescription
layout/next-to-arrangeM12alignTo/nextTo/arrange auto layout
layout/responsive-rectM12Domain-relative UV anchor + fitTo
devtools/inspector-tourM12Inspector full tour

Phase-3 (v1.0 · PCG / 3D / export embed / performance / extensibility)

pcg (procedural generation)

IDMilestoneDescription
pcg/lsystem-plantM13Bracket L-system plant, Create by growth order
pcg/scalar-field-isolinesM13Scalar field heatmap + marching-squares isolines
pcg/vector-field-streamlinesM13Vector field arrow grid + RK4 streamlines
pcg/cellular-automatonM13Rule 30 space-time plot + 2D Life cellularAutomatonFrames evolution
pcg/data-driven-barsM13Single array → bar chart + trend line (retains keyed parts)
pcg/fractal-graphM13Sierpinski fractal + force-directed graph, transformObject positioning
pcg/operators-showcaseM13repeatObject / booleanOp / mapPoints / along operator composition
pcg/data-chartsM13scatter + lineChart shared data; mapData keyed bubbles
pcg/generators-extraM13tiling / lattice / recursiveTree / parametricCurve2D

3d

IDMilestoneDescription
3d/surface-plotM14Parametric surface + 3D axes, Create reveals mesh
3d/training-trajectoryM14§19.3 loss surface + optimization trajectory 3D curve
3d/isosurfaceM14marching-cubes watertight isosurface extraction
3d/camera-movesM14§10.1 registered camera: seekable orbit/dolly/lookAt
3d/nested-scene-panelM14§10.2 render(scene, camera) sub-scene as registrable object
3d/groupingM14§9.3 group3D aggregate objects + polyline3D collective rotation

export / embed

IDMilestoneDescription
export/share-urlM15§17 serialize → URL → rebuild scene from string
export/video-renderM15§17 MediaRecorder records GL canvas as WebM
export/semantic-handoutM15§17 metadata semantic overlay + reduced-motion fallback
export/svg-snapshotM15§17 headless snapshotToSVG frames + sampleFrameHashes determinism
embed/web-componentM15§17 <intermact-embed> custom element mounts share-url

perf

IDMilestoneDescription
perf/instanced-10kM16§15.2 instanceField → single InstancedMesh 10k instances
perf/large-pointcloudM16§15.2 60k-point Float32Array streaming point cloud
perf/worker-samplingM16§15.2 marching-cubes main thread vs Worker

plugin (extensibility)

IDMilestoneDescription
plugin/custom-objectM17§18 register new object type + new animation type
plugin/custom-generatorM17§18 register PCG generator, runGenerator dispatch by name
plugin/webgpu-backendM17§18 render backend as registered RendererFactory (PoC)

Adding a new example

  1. Create *.tsx under examples/src/<group>/, export *Demo component
  2. Append entry to demos array in registry.tsx
  3. Update this page and corresponding milestone Examples in dev-roadmap.md

Intermact v1.0 — docs cover Phase-1 / Phase-2 / Phase-3 (all stages)