ivarvong/lantern

Animated, steppable code explainers. Zero-dependency TypeScript, SVG output, browser and Cloudflare Workers.

Open original source ↗

Older snapshot: check the original source for current information.

From the publisher

README & documentation

Source preview

Read the project’s overview, installation instructions and usage examples. The original README is the source of truth.

Animated, steppable explainers for code changes. A zero-dependency JS port of manim's core model that renders to SVG: a live DOM in the browser, strings in Cloudflare Workers or Node. Every step is addressable (?scene=&step=), and every scene has a text form and a structured trace for agents. Then: The repo is TypeScript throughout. Node 24 runs the tools and tests as .ts directly (type stripping, so only erasable syntax); tsc compiles the library to dist/. A scene is a class with an async construct(). Steps are markers; this.state is what the explanation is about, and it is what traces record: Register it in scenes/index.ts, then: Diagrams can be text: flowchart(mermaidSource) parses a Mermaid flowchart, lays it out and returns shapes you can animate (docs/FLOWCHART.md). Scenes can also be data: sceneFromDoc(doc) plays a JSON document of nodes, edges, code and ops (docs/DOC-FORMAT.md). Every geometric operation maps a function over the…

ivarvong/lantern on GitHub A short preview, not the full document.

Read the full README ↗ · Preview checked 2026-10-29T12:39:28.536Z

Inside the original README — Document outline
  1. lantern
  2. Quickstart
  3. Model
  4. Layout
  5. Outputs
  6. HTTP API
  7. Commands
  8. Out of scope, for now

Headings are captured from the source. Links open the publisher’s document, not a locally hosted copy.

Links from the README

References supplied by the publisher, not independently verified endorsements. Check the destination before downloading files or entering credentials.

Documentation belongs to its respective authors. Reported project/model license: MIT. A listing is not a grant of reuse or training rights. Confirm the document’s own terms at the source.

What this repository does

Animated, steppable code explainers. Zero-dependency TypeScript, SVG output, browser and Cloudflare Workers.

Repository facts

Owner
ivarvong
Primary language
TypeScript
Stars
240
Forks
6
Open issues + pull requests
2
License
MIT
Archived
No
Default branch
main
Created
2026-10-23T22:12:49.000Z
Last push
2026-10-27T13:11:27.000Z

Topics and intended use

No topics were included in the latest source metadata.

Review the README for scope, installation, examples and limitations. We do not run repository code or certify it.

Evaluate before installing

Review licensing and dependencies, inspect recent commits and unresolved issues, and test in an isolated environment before production use. Stars and forks alone cannot answer these questions.

README and project files

Issues and maintenance discussion

Releases and changelog

Source and freshness

Source: GitHub. Metadata observed 2026-10-29T12:15:50.303Z. Daily imports are snapshots, not real-time monitoring.

Popularity and source listings do not establish security, suitability, licensing rights or benchmark performance.

Open original source

Related repositories

freeCodeCamp/freeCodeCamp

morluto/rea

openclaw/openclaw

nilbuild/developer-roadmap

deepseek-ai/deepseek-harness

anomalyco/opencode