⚠ Early release: v0.3.2.sophistry is not ready for production use. Until 1.0, any minor release may break the API; expect missing features and bugs too.Stability and versioning
Roadmap
Where sophistry is, and where it is going. This is a plain-language summary; open work is tracked in the repository’s issues. Priorities shift with what people actually build, so treat the order within a section as a guide, not a promise.
sophistry is pre-1.0. The core is framework-free TypeScript; the Solid binding is built on Solid 2 and the React binding on React 19. See the stability policy.
Shipped
Section titled “Shipped”- A framework-free core. A retained scene graph in plain TypeScript
(
createScene, definitions such ascircleandaxes), tracks with push-stale, pull-value updates (track,derive,watch), per-node stages and dirty bits, and one shared frame loop. No virtual DOM. - Generated bindings.
@sophistry/solidjsand@sophistry/reactwrap every definition as a component (<Circle>), plus<Stage>,<MultiStage>,<Camera>and hooks, generated by codegen so they never fall behind the core. - Scenes and layout. A Canvas2D stage, shapes, nodes with lazy bounds,
relative placement (
nextTo,alignTo,toEdge,arrange), groups, cameras, split screens and picture-in-picture. - Animation. Seekable animation descriptions, a runner that owns time,
play()andtimeline().seek(t), composites (sequence,parallel,lagged,repeat), creation/emphasis/indication/transform presets, morphing, and easings including Manim’s rate functions (squish,runningStart, …). Movement effects (homotopy,phaseFlow,tracedPath),changeSpeed, and arc trajectories (pathArc). Seekable springs (springTo) and live spring followers (follow). - Instancing.
instances(): one node for many items of one shape, with per-item channels, keyed enter/update/exit, per-item tweens and springs, and picking by item; path batches for many distinct outlines. - Items with identity.
createSlotsmodels which key sits in which slot, with seekableswap/move/permute/rotate/insert/removeoperations and caller-supplied motion (eased straight moves,arcMotion). - Graphing.
Axes,NumberLine,NumberPlane,PolarPlane,ComplexPlane, log scales,FunctionGraph,ParametricGraph,PolarGraph,ImplicitFunction, Riemann sums, tangents and secants, vector fields and streamlines, network graphs with layouts. - Charts. Bar, line, scatter, histogram, box, violin, radar, pie, heatmap,
contour, hierarchy charts and more, all driven by
dataplus channel props and batched by default, in a<Chart>frame with linear, log, sqrt, symlog, time and band axes, dates and time zones, legends, tooltips, reveals, keyed transitions, facets and linked views. - Text and maths. Rich
Text(spans, wrapping),BulletedList,Title,DecimalNumber/Variablewith tabular digits, LaTeX as geometry (MathTex,MathTransform) via KaTeX and opentype.js, andBracelabels. - 3D.
Camera3D, primitives, polyhedra, surfaces and 3D charts (Scatter3D,BarChart3D, …), orbit controls, and a painter’s depth sort across every solid under one camera, projected into the same 2D pipeline. - Interaction. Draggable handles, constraints, hit testing, keyboard access.
- Theming. Catppuccin light/dark themes, color modes, a categorical
seriespalette, colormaps and ramps. - Stills and frames.
captureFrame,exportFrames, and a deterministic fixed-fpsrenderFramespath as a building block for tooling. - Packaging. Separate packages for the core, text, charts, 3D and each binding, with narrow subpaths; typed, ESM only, tree-shakeable.
Near term: polish for a trustworthy 0.x
Section titled “Near term: polish for a trustworthy 0.x”- Extend the algorithm-visualizer recipe (sorting and graph traversal ship) to heaps and tree traversals, as the forcing function for the items below.
- More gallery examples and guides.
Medium term: expressiveness
Section titled “Medium term: expressiveness”- Text:
MarkupTextand syntax-highlightedCode. - Missing primitives:
Table/Matrix,ImageMobject, SVG import, boolean shape operations. - Animation: common Manim migration targets still missing (
spiralIn,showIncreasingSubsets,ReplacementTransform,FadeTransform), andpathArconMathTransformandTransformMatchingShapes. - Layout through scaled or rotated groups: make deltas exact, not approximate.
Longer term: rendering and platform
Section titled “Longer term: rendering and platform”- Exact 3D occlusion (splitting intersecting faces, or a depth buffer); today’s painter’s sort handles separate and concave solids but not faces that cut through each other.
- Soft (alpha) masks, images and textures, per-point stroke width.
- Bezier-native paths throughout. Shapes can already paint native curves
(
curvePaths), but most geometry still flattens to polylines. - Per-item arc-length reveals in instances and path batches, so batched chart marks draw on the way individual shapes do.
- A WebGPU renderer behind the same spec boundary.
- A 3D data coordinate system, and a
ThreeDScene-style convenience wrapper if composing<Camera3D>and<Axes3D>proves too verbose. - Audio hooks.
- Python bindings: the
sophistry-pydirectory only reserves the name today. - More bindings, generated the same way.
- A 1.0 release once the API has settled (and Solid 2.0 is final, for the Solid binding).
Deliberate non-goals
Section titled “Deliberate non-goals”- Video or GIF encoding and a file writer. sophistry is interactive and declarative, not a render-to-file tool (stills and frame sequences are supported; encode them with your own tooling).
- A Python to TypeScript converter.
- A
.animateproxy: drive tracks directly. always_redraw/add_updater: aderivepassed as a prop, orwatch, already does this.- Slides and render-time sections: those presuppose a rendered video. Guided lessons built on tracks, the clock and draggable handles sit above this library.
How to propose features
Section titled “How to propose features”- Search the issues and this roadmap first.
- For an idea or a question, start a discussion.
- For a concrete proposal, open a feature request. Describe the scene or interaction you are trying to build, how you do it today, and a sketch of the API you would like. If it mirrors a Manim feature, link it.
- Pull requests are welcome; for anything larger than a fix, please agree the approach in an issue first. See CONTRIBUTING.md.
Next steps
Section titled “Next steps”- Stability and versioning
- Performance, including today’s limits at tens of thousands of nodes
- Contributing