No description
Find a file
Andrew Prifer 39da042edc
Fix various issues with the build system (#129)
* Fix react-icons breaking in CRA 5 for some reason

* Replace fuzzysort with fuzzy so we don't break Webpack

Webpack messes up esbuild’s internal modules if the inlined module is an AMD module. Check any new dep you add if it is an AMD module.

* Inline dataverse deps.

Mainly because the CJS build consuming the ESM lodash-es broke some bundlers.

* react-icons fix nr 2

* Stop eslint breaking in CRA 5

* Update r3f-cra example to CRA 5 and fix double-bundling react & co

* Fix r3f tree-shaking and switch to ESM only output

* Make r3f example shake studio and its extension in prod

* Examples have separate and wildly differing build setups so remove them from the pre-commit hook linting

* Update out-of-date yarn.lock
2022-04-21 22:03:51 +02:00
.github/workflows Disallow lint warnings in GH action 2022-04-09 15:24:15 +02:00
.husky Initial OSS commit 2021-06-18 13:05:06 +02:00
.vscode Minor changes 2021-09-12 21:21:49 +02:00
.yarn Upgrade to yarn 3.2.0 (#83) 2022-02-23 13:11:00 +01:00
contributing README: add theatre logo. Add/fix social links (#113) 2022-04-05 13:29:40 -04:00
devEnv Use vite for playground (#84) 2022-02-27 21:25:15 +01:00
examples Fix various issues with the build system (#129) 2022-04-21 22:03:51 +02:00
packages Fix various issues with the build system (#129) 2022-04-21 22:03:51 +02:00
scripts Update build.mjs 2022-01-24 22:43:24 +01:00
theatre Fix various issues with the build system (#129) 2022-04-21 22:03:51 +02:00
.editorconfig Initial OSS commit 2021-06-18 13:05:06 +02:00
.eslintrc.js Add a tsconfig to /devEnv 2022-02-24 17:04:56 +01:00
.gitignore Set up end-to-end tests (#85) 2022-02-28 13:15:27 +01:00
.prettierignore Initial OSS commit 2021-06-18 13:05:06 +02:00
.prettierrc Initial OSS commit 2021-06-18 13:05:06 +02:00
.yarnrc.yml Upgrade to yarn 3.2.0 (#83) 2022-02-23 13:11:00 +01:00
babel.config.js Moved examples to a separate folder 2021-08-06 12:00:19 +02:00
CHANGELOG.md Added CHANGELOG.md 2021-10-01 13:04:01 +02:00
CONTRIBUTING.md README: add theatre logo. Add/fix social links (#113) 2022-04-05 13:29:40 -04:00
credits.txt Create color prop (#64) 2022-02-19 17:54:19 +01:00
jest.config.js Integrate Wallaby (#66) 2022-02-21 13:33:08 +01:00
lerna.json Initial OSS commit 2021-06-18 13:05:06 +02:00
LICENSE Make license detectable by github 2021-06-18 19:33:39 +02:00
package.json Fix various issues with the build system (#129) 2022-04-21 22:03:51 +02:00
README.md Small tweaks to the top of README.md 2022-04-10 19:09:56 +02:00
tsconfig.base.json Renamed dataverse2 to dataverse-experiments 2021-10-04 20:06:12 +02:00
wallaby.conf.js Integrate Wallaby (#66) 2022-02-21 13:33:08 +01:00
yarn.lock Fix various issues with the build system (#129) 2022-04-21 22:03:51 +02:00

Theatre.jsTheatre.js

Motion Design, for the web

GitHub branch checks state Join us on Discord Follow Theatre.js on Twitter Watch on YouTube

Update: We're hiring join the core team!

Theatre.js is an animation library for high-fidelity motion graphics. It is designed to help you express detailed animation, enabling you to create intricate movement, and convey nuance.

Theatre can be used both programmatically and visually.


You can use Theatre.js to:

  • Animate 3D objects made with THREE.js or other 3D libraries

    s

    Art by drei.lu

  • Animate HTML/SVG via React or other libraries

    s

  • Design micro-interactions

    s

  • Choreograph generative interactive art

    s

  • Or animate any other JS variable

    s

Documentation and Tutorials

The docs are at docs.theatrejs.com:

Community and support

Join our friendly community on Discord, follow the updates on twitter or write us an email.

Development and contributing

If you want to change the source of Theatre, have a look at the guide here.

Proposing fixes and changes

You can always get help with bugfixes or discuss changes with our community on Discord, or directly open an issue on Github.

Helping with outstanding issues

Feel free to chime in on any issue. We have also labeled some issues with "Help wanted" or "Good first issue" if you're just getting started with the codebase.

Helping with documentation

The documentation website's repo is here.

Writing/recording tutorials

If you make tutorials or video content about Theatre, tell us to showcase it here :)

License

Your use of Theatre.js is governed under the Apache License Version 2.0:

  • Theatre's core (@theatre/core) is released under the Apache License. Same goes for most packages in this repository.
  • The studio (@theatre/studio) is released under the AGPL 3.0 License. This is the package that you use to edit your animations, setup your scenes, etc. You only use the studio during design/development. Your project's final bundle only includes @theatre/core, so only the Apache License applies.