Theatre.js
Library / tool · Free
Motion design for the web with visual and programmatic control. Choreograph 3D, HTML/SVG, microinteractions, and any JS parameters; Codex creates the integration, while the visual editor helps refine the movement.
What you can use for free
The software is available free of charge, with different licenses for core/runtime and Studio.
Access and limitations
The software is available free of charge, with different licenses for core/runtime and Studio. Redistributing or embedding Studio requires compliance with AGPL; the Apache license for core cannot be substituted for it.
Use cases
- Visual choreography of a 3D camera
- A complex timeline for a hero
- Microinteractions
- Generative interactive graphics
Example workflow
A possible workflow; this is not a report of hands-on testing.
Example workflow with Theatre.js: Visual choreography of a 3D camera.
Before you start
- One scene or interaction: its initial state, trigger, and final state.
- The text, SVG, or page elements to animate, and the intended rhythm.
- From the tech stack mentioned on this page, choose an option that suits your project: React, JavaScript, TypeScript, Three.js; check version compatibility in the documentation.
Steps
- For the task “Visual choreography of a 3D camera”: first build a static version that makes the content and action available without animation.
- Add a motion sequence for the chosen use case; set the duration and easing to suit the action.
- Test restarting, interrupting, and leaving the page; clean up the effect when the component finishes its work.
Check your result
- Repeated actions do not start conflicting animations; the final state matches the application's state.
- The scene keeps its meaning with reduced motion; scrolling and interaction remain comfortable on mobile.
Choosing Theatre.js
Visual choreography of a 3D camera
Choose this when
- Visual choreography of a 3D camera
- A complex timeline for a hero
- Microinteractions
Consider alternatives when
- When choosing for this topic, compare Theatre.js with Anime.js. A candidate to compare under the topic: Web animation and timelines. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together.
- When choosing for this topic, compare Theatre.js with GSAP. A candidate to compare under the topic: Web animation and timelines. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together.
Requirements
- Separate the Studio editor from the core runtime when integrating and checking the build contents.
Things to consider
- Access terms: The software is available free of charge, with different licenses for core/runtime and Studio. Redistributing or embedding Studio requires compliance with AGPL; the Apache license for core cannot be substituted for it.
- Terms of use: @theatre/core is Apache-2.0; @theatre/studio is AGPL-3.0. The README explains that Studio is used during development and the final bundle contains only core, so that bundle is covered by Apache-2.0.
- The README warns that development of version 1.0 has moved to a private repo, so the public repository does not show every new change.
- An announcement of a future 1.0 and temporary private development does not confirm that a public release has already shipped.
Frequently asked questions
What can you use for free in Theatre.js?
The software is available free of charge, with different licenses for core/runtime and Studio.
What are the access terms for Theatre.js?
The software is available free of charge, with different licenses for core/runtime and Studio. Redistributing or embedding Studio requires compliance with AGPL; the Apache license for core cannot be substituted for it.
What terms of use matter for Theatre.js?
@theatre/core is Apache-2.0; @theatre/studio is AGPL-3.0. The README explains that Studio is used during development and the final bundle contains only core, so that bundle is covered by Apache-2.0.
Which environment can you use Theatre.js in?
Tech stack: JavaScript, SVG, HTML / CSS. Environment: Browser.
How do you get started with Theatre.js?
For the task “Visual choreography of a 3D camera”: first build a static version that makes the content and action available without animation. Add a motion sequence for the chosen use case; set the duration and easing to suit the action. Test restarting, interrupting, and leaving the page; clean up the effect when the component finishes its work.
What should you consider when choosing Theatre.js?
JavaScript/TypeScript, Three.js, and HTML/SVG; React is optional. The runtime and editor have different licenses.
Must Theatre Studio be included in an animation's production bundle?
Theatre.js lets you animate 3D, HTML/SVG, microinteractions, and JS variables visually and programmatically. The README distinguishes @theatre/core under Apache-2.0 from @theatre/studio under AGPL-3.0. Studio is used for editing during design/development; a final bundle containing only core is described separately and falls under Apache.
Related tasks and approaches
- Anime.js
A candidate to compare under the topic: Web animation and timelines. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together.
- GSAP
A candidate to compare under the topic: Web animation and timelines. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together.
Platforms
- Browser
Tech stack
- JavaScript
- SVG
- HTML / CSS
License
@theatre/core is Apache-2.0; @theatre/studio is AGPL-3.0. The README explains that Studio is used during development and the final bundle contains only core, so that bundle is covered by Apache-2.0.
Apache 2.0 — permissive license with patent terms
For @theatre/core in the final bundle.
You can use and modify the code in commercial and closed-source projects. When distributing it, retain the license and relevant notices, identify modified files, and include NOTICE if provided. Authors grant a limited patent license for their contributions; it does not grant permission to use trademarks.
License termsAGPL 3.0 — copyleft with a network-service condition
For @theatre/studio, the development editor.
Use, modification, and commercial use cases are permitted. GPL obligations apply to distribution. If you modify an AGPL-covered program and let users interact with it over a network, you must offer them the corresponding source code for that version. This applies to the covered program, not automatically to all your data or independent applications.
License termsUsage details
JavaScript/TypeScript, Three.js, and HTML/SVG; React is optional. The runtime and editor have different licenses. The README warns that development of version 1.0 has moved to a private repo, so the public repository does not show every new change.
Technologies and topics
- Theatre.js
- SVG
- Codex