Canvas Lab

Learn HTML Canvas from scratch. From understanding the fundamentals to building a particle system.

Every lesson has interactive code editors; you can modify examples and see results instantly in your browser. You can draw shapes, animate objects, handle mouse input, and build a particle system from scratch.

Prerequisites: JavaScript (variables, functions, loops, arrays).

Estimated time: Learning is easy, good things take time. On rough estimates, each lesson takes 15 to 30 minutes.