jonobr1
two.js
A renderer agnostic two-dimensional drawing api for the web
Downloads come straight from GitHub, so you always get the current dev branch; the latest release was published on August 29, 2026. Nothing is hosted or changed by us.
How to use it
Worked out from what is actually in the repository: its folders, its releases and its package registry entry.
1Download a ready build
The latest release, v0.8.24, comes with 4 downloadable files. Take this route if you want to run it rather than build it.
Go to release v0.8.242Install from npm
Published on npm from this repository.
npm install two.js3Get the source
Clone the repository, or use the download button for a zip of the dev branch as it is right now.
git clone https://github.com/jonobr1/two.js.git
What the licence allows
MITCommercial use allowed
MIT lets you use, change and ship it in commercial, closed-source games. Keep the copyright and licence notice with your build.
A summary to help you decide, not legal advice. Read the licence in the repository before you ship.
Preview
Images belong to the project and load from GitHub. Read the full README
Topics
Reviews
Stars and reviews from our members, separate from GitHub stars. A suspicious burst of votes from one place is kept but not counted.
No reviews yet. Used it in a game? Tell others how it went.
More frameworks for the web
All Web repositories
49Kpixijs
WebFrameworksv8.23.0
A fast 2D renderer when you want to build your own game layer.
40.8Kphaser
WebFrameworksv4.2.1
The standard 2D game framework for the browser.
34.1Kreact-three-fiber
WebFrameworksv9.8.2
three.js as React components.
