Skip to Content
Catalog
Log In
Sign Up

Learn p5.js

Start

Why Learn p5.js?

Meet p5.js — an open-source JavaScript library that allows you to use programming as an artistic medium. With it, you can simplify the way you build graphic and interactive experiences. Create colorful, dynamic, and engaging visuals for design, architecture, fashion, gaming — anything you can imagine.

Take-Away Skills

You’ll build on your JavaScript foundation and dive into p5.js’s full range of functionality. Learn how to create everything from simple 2D sketches to generative visualizations using interactive animations and multimedia elements.

Note on Prerequisites:

We recommend having a basic knowledge of HTML, CSS, and JavaScript. It also helps to have an understanding of HTML elements and structures, CSS colors, and JavaScript arrays, loops, and objects before starting this course.

Codecademy courses have been taken by employees at

Google LogoFacebook LogoNASA LogoIBM LogoDropbox Logo
  1. 1
    Get an introduction to creative coding and the p5.js JavaScript library.
  2. 2
    Learn the fundamental concepts of p5.js and create your first p5.js sketch to draw and color shapes!
  3. 3
    Turn your static p5.js sketch into animation and learn to create more complex sketches using grouping and transformation functions.
  4. 4
    Add interactivity to your p5.js sketch with mouse and keyboard functions.
  5. 5
    Learn how to add and manipulate media assets, such as images and videos, in your p5.js sketch.

What you'll create

Portfolio projects that showcase your new skills

Pro Logo

How you'll master it

Stress-test your knowledge with quizzes that help commit syntax to memory

Pro Logo
Madelyn from Pinterest
I know from first-hand experience that you can go in knowing zero, nothing, and just get a grasp on everything as you go and start building right away.
— Madelyn, Pinterest