Skip to content
Two.js

Open source alternatives to Two.js

200 open source apps like Two.js, closest match first.

Top picks

  1. P

    Paper.js

    Launch

    Paper.js is an open source vector graphics scripting framework that runs on top of the HTML5 Canvas. It gives JavaScript developers a scene graph and a document model for working with shapes, paths and Bezier curves in one consistent progra

  2. P

    Pixijs

    Launch

    PixiJS is an open-source HTML5 creation engine for building games, apps and interactive digital content. It is a 2D rendering library that runs on WebGPU and WebGL, and the site describes it as the fastest 2D renderer of its kind. It lets y

  3. S

    Stage.js

    Launch

    Stage.js is a lightweight and fast 2D rendering and layout library for web and mobile game development. It gives you an API for creating interactive graphics on an HTML5 2D canvas, so you can build the visual part of a browser game without

  4. R

    Ripl

    Launch

    Ripl provides a unified, cross-platform API for 2D and 3D graphics rendering with a focus on high performance and interactive data visualization. Write once, render to Canvas, SVG, WebGPU, or the terminal - in the browser, on the server, or

  5. M

    Maker.js

    Launch

    Maker.js is a JavaScript library for creating and sharing modular 2D line drawings for CNC machines and laser cutters. It was started as a Microsoft Garage project. You build drawings from geometry and drafting constructs, using paths made

  6. T

    ThorVG

    Launch

    ​Thor Vector Graphics (ThorVG) is an open-source, lightweight, and portable library designed for rendering vector-based scenes and animations, including SVG and Lottie formats. It offers user-friendly APIs, making it versatile for use acros

More like Two.js

7
M

Motion Canvas

Visualize Your Ideas With Code

Launch
8
A

Anime

JavaScript animation engine

Launch
9
N

Node Pureimage

Pure JS implementation of the HTML Canvas 2D drawing API

Launch
10
D

Drawsvg

Moving to https://tangled.org/cduck.me/drawsvg/ Programmatically generate SVG

Launch
11
V

VFX JS

WebGL effects made easy

Launch
12
L

LottieFiles

Interactive animations in many formats like json,gif and mp4

Launch
13
S

Svg2roughjs

Create sketchy, hand-drawn-like images from SVGs

Launch
14
D

DGM.js

An infinite canvas with smart shapes

Launch
15
I

ImageSharp.Drawing

Extensions to ImageSharp containing a cross-platform 2D polygon manipulation API

Launch
16
T

Tween.js

JavaScript/TypeScript animation engine

Launch
17
I

Inox2d

Native Rust reimplementation of Inochi2D

Launch
18
L

Luxor.jl

Simple drawings using vector graphics; Cairo "for tourists!"

Launch
19
S

SVG Drawing

A canvas for easy sketching and replay, exportable in SVG format

Launch
20
S

Sprite Gen

Generate clean 2D game sprites & animation atlases

Launch
21
T

Takumi

Render OG images and paged PDFs from JSX, HTML, and CSS

Launch
22
S

Svg2pdf.js

A javascript-only SVG to PDF conversion utility that runs in the browser

Launch
23
G

G2

The concise and progressive visualization grammar

Launch
24
K

Konva

Konva is 2d Canvas JavaScript framework for drawings shapes, animations

Launch
25
F

Frame.js

JavaScript Sequence Editor

Launch
26
R

Readme Typing SVG

Dynamically generated, customizable SVG

Launch
27
P

Polygonjs

node-based WebGL design tool

Launch
28
L

loadersz

Framework-agnostic, dependency-free Canvas loaders for the browser

Launch
29
M

Morpholib

A general-purpose programmatic animation tool

Launch
30
E

Engine

A typescript interactive engine, support 2D, 3D, animation, physics

Launch
31
G

gif.js

Full-featured JavaScript GIF encoder that runs in your browser

Launch
32
G

G6

A Graph Visualization Framework in JavaScript

Launch
33
G

greensock/gsap-plugins

Plugins including ScrollToPlugin, Flip, Draggable, SplitText, SVG, and physics

Get
34
R

react-konva

React Konva is a JavaScript library for drawing complex canvas graphics

Launch
35
C

Canvas UI

GPU-accelerated liquid physics and canvas shaders

Launch
36
P

Pixel Art React

Pixel art animation and drawing web app powered by React

Launch
37
Q

Q5.js

Beginner friendly graphics powered by WebGPU, optimized for interactive art!

Launch
38
R

react-canvas-draw

A simple yet powerful canvas-drawing component for React

Launch
39
L

Lopaka

Make stunning graphics for embedded electronics displays with no code

Launch
40
B

Bitmappery

Browser based non-destructive image editor

Launch
41
F

Flowchart.js

Draws simple SVG flow chart diagrams from textual representation of the diagram

Launch
42
S

Svg2gcode

Convert vector graphics to g-code for pen plotters, laser engravers

Launch
43
M

Minimator

Minimalist graphical editor

Launch
44
S

SmilesDrawer

A small, highly performant JavaScript component

Launch
45
P

Progressbar.js

Responsive and slick progress bars

Launch
46
S

Sone

A layout engine for image generation in JavaScript

Launch
47
S

SVG To PNG

Convert SVGs to PNGs right in your browser, reliably and correctly

Launch
48
B

Bevy Aseprite Ultra

The ultimate bevy aseprite binary plugin

Launch
49
N

ngx-lottie

Fully customizable Angular component for rendering After Effects animations

Launch
50
C

Canvas Confetti

performant confetti animation in the browser

Launch

About Two.js

T

Two.js

A renderer agnostic two-dimensional drawing api for the web

Two.js is a two-dimensional drawing API for modern web browsers. Its main idea is that the same code can draw in several renderers, including SVG, canvas and WebGL, so you write a scene once and choose where it is drawn. It is aimed at flat vector shapes and their animation, and it keeps a scene graph, which means that each shape or group is stored as an object that you can rotate, position and scale after creating it. The library has a built-in animation loop that can run on its own or be paired with another animation library. It can also load SVG files, including those exported from design tools such as Adobe Illustrator, and bring them into a scene. For bitmap images, it can load single images, sprite sheets and image sequences with a few method calls. The development build is about 95 KB and the production build about 50 KB. You install it with npm install --save two.js@latest, or add the script to an HTML page. The site says that before version 0.7.0-alpha.1 it needed Underscore.js and the Backbone Events module. The documentation covers drawing a first shape, groups, motion, and next steps, and the examples show more.

Price
Free
Made by
jonobr1
Category
Developer Tools
Website
two.js.org