EveryDev.ai
Subscribe
Home
Tools

5,089+ AI tools

  • New
  • Trending
  • Featured
  • Rate tools
  • Compare
  • Arena
Categories
  • Agents2594
  • Coding1910
  • Infrastructure898
  • Projects718
  • Research640
  • MCP611
  • Marketing497
  • Analytics495
  • Design422
  • Testing406
  • Data378
  • Security328
  • Integration259
  • Communication250
  • Prompts246
  • Extensions219
  • Commerce171
  • Voice170
  • DevOps168
  • Web123
  • Learning114
  • Finance35
AI Tools by Topic
  • AI Coding Assistants
  • Agent Frameworks
  • MCP Servers
  • AI Prompt Tools
  • Vibe Coding Tools
  • AI Design Tools
  • AI Database Tools
  • AI Website Builders
  • AI Testing Tools
  • LLM Evaluations
Follow Us
  • X / Twitter
  • LinkedIn
  • Reddit
  • Discord
  • Threads
  • Bluesky
  • Mastodon
  • YouTube
  • GitHub
  • Instagram
Get Started
  • Users
  • Rate Tools
  • About
  • Editorial Standards
  • Corrections & Disclosures
  • Community Guidelines
  • Advertise
  • Contact Us
  • Newsletter
  • Submit a Tool
  • Start a Discussion
  • Write A Blog
  • Share A Build
  • Terms of Service
  • Privacy Policy
Explore with AI
  • ChatGPT
  • Gemini
  • Claude
  • Grok
  • Perplexity
Agent Experience
  • llms.txt
Theme
With AI, Everyone is a Dev. EveryDev.ai ©
    1. Home
    2. Tools
    3. Lantern
    Lantern icon

    Lantern

    3D and Animation
    Featured

    Zero-dependency TypeScript library for building animated, steppable code explainers that render to SVG, text, and JSON traces.

    Visit Website

    At a Glance

    Pricing
    Open Source

    Zero-dependency TypeScript library for animated, steppable code explainers, released under the MIT License; self-hosted from the GitHub repository.

    Engagement

    Available On

    Web
    API
    JetBrains
    SDK
    CLI

    Resources

    WebsiteDocsGitHubllms.txt

    Topics

    3D and AnimationDocumentationAI Development Libraries

    Alternatives

    vgpuframefieldsRemotion
    Developer
    Ivar VongPrincipal Engineer at Cloudflare

    Listed Oct 2026

    About Lantern

    Lantern is an open-source project by Ivar Vong (ivarvong) for explaining code with animation you can step through. A scene is a sequence of named steps, and each step has a shareable link, an SVG frame, a plain-text frame, and a JSON trace of the state it explains. It is a zero-dependency JavaScript/TypeScript port of manim's core model that runs in the browser, Cloudflare Workers, or Node.

    What It Is

    Lantern is an animation library and hosted player for code explainers. Authors write a scene as a class with an async construct() method, marking steps with this.step(name) and recording the explained state in this.state. Scenes can also be described as data with sceneFromDoc, using a JSON document of nodes, edges, code, and step operations. Diagrams can start as text: flowchart(mermaidSource) parses a Mermaid flowchart, lays it out, and returns shapes that can be animated.

    Outputs and Fetch API

    Each scene is exposed through a plain GET HTTP API with open CORS and no auth. Endpoints return scene and step listings, per-step state traces, a frame as SVG, or a frame as text, addressed by scene name and either step name or time. A plain-text guide for agents is served at the root and at /llms.txt. In the player, deep links like ?scene=NAME&step=STEP open a specific step, and keyboard shortcuts handle play/pause, stepping, and copying links.

    How the Engine Works

    Shapes are Bézier point buffers, and text is rendered from embedded glyph outlines so output does not depend on installed fonts. Animations are pure functions of time with a fixed time step, so every frame is reproducible and seeking matches a full run. Frames go to sinks that produce live SVG in the DOM, SVG strings, text grids, or state traces. Traces are meant to be checked against the real program behavior.

    Scope Notes

    The README lists matching morphs, 3D, boolean path operations, and LaTeX as out of scope for now, and says the library is not yet on npm. Setup is by cloning the repository and running npm scripts for dev server, tests, frame inspection, and deployment to Cloudflare Workers.

    Lantern - 1

    Community Discussions

    Be the first to start a conversation about Lantern

    Share your experience with Lantern, ask questions, or help others learn from your insights.

    Pricing

    OPEN SOURCE

    Open Source (MIT)

    Zero-dependency TypeScript library for animated, steppable code explainers, released under the MIT License; self-hosted from the GitHub repository.

    • MIT License
    • Zero runtime dependencies
    • SVG output, text frames and JSON traces
    • Runs in browser, Cloudflare Workers and Node
    • Not on npm yet; install by cloning the repository

    Capabilities

    Key Features

    • Steppable animated scenes with named, linkable steps
    • SVG, plain-text, and JSON trace output for every step
    • Zero-dependency engine for browser, Cloudflare Workers, and Node
    • Mermaid flowchart parsing and automatic layout
    • Scenes authored as TypeScript classes or JSON documents
    • HTTP API for frames, text, traces, and indexes
    • Glyph-outline text with Write and morph animations
    • Deterministic fixed-step rendering and exact seeking
    • Motion verifier, contact-sheet and frame inspection tools
    • Agent-readable text guide at /llms.txt

    Integrations

    Cloudflare Workers
    Node.js
    Mermaid
    Playwright
    API Available
    View Docs

    Ratings & Reviews

    No ratings yet

    Be the first to rate Lantern and help others make informed decisions.

    Rate other tools you’ve used

    Developer

    Ivar Vong

    Principal Engineer at Cloudflare

    Read more about Ivar Vong
    WebsiteGitHubX / Twitter
    1 tool in directory

    Similar Tools

    vgpu icon

    vgpu

    A modular TypeScript WebGPU library for building cross-runtime shader applications in browsers, headless Node.js, and CI pipelines, designed for both developers and coding agents.

    framefields icon

    framefields

    Open-source TypeScript library that renders motion graphics, 3D and audio on the GPU straight to MP4, built to be driven by coding agents.

    Remotion icon

    Remotion

    Remotion is a framework for creating real MP4 videos programmatically using React, enabling parametrized content, server-side rendering, and scalable video automation.

    Browse all tools

    Related Topics

    3D and Animation

    AI-powered tools for creating, manipulating, and animating 3D models, characters, and environments with intelligent rigging, texturing, and motion synthesis.

    70 tools

    Documentation

    AI-driven tools that automatically generate, maintain, and organize technical documentation, user guides, and project artifacts with context-aware content and intelligent updating.

    112 tools

    AI Development Libraries

    Programming libraries and frameworks that provide machine learning capabilities, model integration, and AI functionality for developers.

    479 tools
    Browse all topics
    Back to all toolsSuggest an edit
    ratings
    discussions