Code is a creative tool.
Start sketching.

CodeLab is a hands-on playground for learning programming with Javascript and p5.js. Build your own generative art, games, and interactive sketches.

Learn by sketching

Bite-sized lessons that get you drawing, animating, and interacting with code in minutes.

Live p5.js editor

Write code, hit run, see pixels move. No setup, no installs, no friction.

Save your projects

Every sketch you build lives in your account, ready to remix or share.

Sign in to CodeLab

Save your sketches and pick up where you left off.

or
Forgot?

New here? Create an account

or

Your work is saved on this device and can't be shared.

New · Free guided lessons

Explore coding basics

Free, guided, hands-on lessons with exercises. Write real p5.js code and go from your first variable to building with objects in no time!

  • No account needed

What you'll learn

  • Variables
  • Data types
  • Conditionals
  • Loops
  • Functions
  • Arrays
  • Objects