---
title: "Two.js"
description: "Renderer-agnostic two-dimensional drawing API that outputs to SVG, canvas or WebGL from one scene description."
canonical: "https://vibing.inc/library/two-js-vg-1698"
category: "Shaders, WebGL & Creative Coding"
subcategory: "2D graphics"
license: "MIT"
author: "Jono Brandel (@jonobr1)"
source: "https://two.js.org/"
---

# Two.js
Renderer-agnostic two-dimensional drawing API that outputs to SVG, canvas or WebGL from one scene description.
## Facts
- Source: https://two.js.org/
- Category: Shaders, WebGL & Creative Coding / 2D graphics
- Author: Jono Brandel (@jonobr1)
- Licence: MIT
- Tags: 2d, svg, canvas, webgl
## Why it's a gem
One scene graph, three renderers; switch output targets without rewriting the artwork.
---
Listed in The Vibeary: https://vibing.inc/library/two-js-vg-1698 · JSON: https://vibing.inc/api/public/library/gems/two-js-vg-1698