SVG A Beginner's Guide to Drawing 2D Graphics With Two.js Tutorial • Intermediate Two.js is an API that makes it easy to create 2D shapes with code. Follow along and you'll learn how to create and animate shapes from JavaScript.