{"meta":{"name":"FindSoftware","page":"https://findsoftware.frbit.cloud/two-js/","markdown":"https://findsoftware.frbit.cloud/two-js.md","license":"https://creativecommons.org/licenses/by/4.0/","attribution":"FindSoftware, CC BY 4.0","note":"Attributes are recorded, never scored. An absent field means unknown, never zero and never bad."},"record":{"id":"two-js","name":"Two.js","urls":{"home":"https://two.js.org/","repository":"https://github.com/jonobr1/two.js","docs":"https://two.js.org/docs/two/"},"category":["graphics"],"description":"Renderer-agnostic JavaScript drawing API for two-dimensional scenes that render to WebGL, canvas or SVG.","maintainer":"jonobr1","maintainerType":"individual","firstRelease":2013,"hosting":null,"language":"javascript","runtime":["node"],"runtimeMin":null,"contentStore":null,"databases":null,"adminUi":null,"headlessApi":null,"templating":null,"i18n":null,"runsAs":null,"renderingModes":null,"installMethod":"npm, download, source build","licenseModel":"open-source","license":"MIT","currentMajor":"0","latestReleaseDate":"2026-08-29T00:00:00.000Z","githubStargazers":8745,"contributors":63,"packagistDownloads":null,"npmWeeklyDownloads":19039,"dependentRepos":286,"dependentPackages":53,"checkedAt":"2026-11-16T00:00:00.000Z","addedAt":"2026-11-16T00:00:00.000Z","sources":[{"field":"urls","url":"https://two.js.org/","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"urls","url":"https://api.github.com/repos/jonobr1/two.js","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"urls","url":"https://raw.githubusercontent.com/jonobr1/two.js/dev/README.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"firstRelease","url":"https://api.github.com/repos/jonobr1/two.js/tags","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"maintainer","url":"https://raw.githubusercontent.com/jonobr1/two.js/dev/LICENSE","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"category","url":"https://two.js.org/","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"category","url":"https://raw.githubusercontent.com/jonobr1/two.js/dev/README.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"language","url":"https://api.github.com/repos/jonobr1/two.js","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"runtime","url":"https://raw.githubusercontent.com/jonobr1/two.js/dev/README.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"installMethod","url":"https://raw.githubusercontent.com/jonobr1/two.js/dev/README.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"installMethod","url":"https://raw.githubusercontent.com/jonobr1/two.js/dev/README.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"installMethod","url":"https://raw.githubusercontent.com/jonobr1/two.js/dev/README.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"license","url":"https://raw.githubusercontent.com/jonobr1/two.js/dev/LICENSE","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"licenseModel","url":"https://raw.githubusercontent.com/jonobr1/two.js/dev/LICENSE","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"currentMajor","url":"https://api.github.com/repos/jonobr1/two.js/releases","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"latestReleaseDate","url":"https://api.github.com/repos/jonobr1/two.js/releases","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"githubStargazers","url":"https://api.github.com/repos/jonobr1/two.js","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"contributors","url":"https://api.github.com/repos/jonobr1/two.js/contributors","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"npmWeeklyDownloads","url":"https://api.npmjs.org/downloads/range/2026-11-01:2026-11-07/two.js","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"dependentPackages","url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/two.js","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"dependentRepos","url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/two.js","checkedAt":"2026-11-16T00:00:00.000Z"}],"status":"active","ai":"authored"},"prose":"Two.js is a drawing API for two-dimensional scenes on the web. The same scene can be drawn by its WebGL, canvas or SVG renderer, because the API sits above the renderer. Shapes and groups are kept in a scenegraph, so an object can be rotated, moved or scaled after it is created, and the library has a built-in animation loop that updates the scene.\n\nTwo.js also reads SVG elements from design tools into a scene and loads bitmap images, sprite sheets and image sequences. A headless mode renders a scene on a server with the Node Canvas library and writes the frames to files. The [documentation](https://two.js.org/docs/two/) describes the API.\n\n## Worth knowing\n\nThe README says the main import includes every module, so tree shaking is not yet implemented, although the project lists it on its roadmap. A custom build can exclude renderers the project does not need by editing its build script, which reduces the file size."}