p5.js IDE

The online p5.js IDE for creative coding in K-12

sketch.js
function setup() {
  createCanvas(400, 200);

  const length = 14.5;
  const width = 7.5;

  const area = length * width;

  rect(20, 20, length * 10, width * 10);
  text("The area is " + area + " square feet", 20, 180);
}

Assignment

Drawing the sketch happens in the full IDE.

Works on any device

Runs in the browser — nothing to install.

Automated grading

Tests run against every submission.

Fully customizable

Edit the lesson, starter code, and tests.

Start Coding Now

Browser-Based p5.js IDE

JuiceMind's online p5.js IDE lets students make art, animation and interactive graphics with JavaScript. Built for K-12 classrooms, it is the version of programming that wins over the students a console never reaches.

Art and Animation With Code

Shapes, colour and motion on a canvas — programs whose output is worth showing off.

Test Cases & Autograding

Configure unit tests that run against student code and return instant feedback automatically.

Built-in Error Detection

Console errors and inline highlighting point students to the exact line that broke.

Works on Chromebooks & Tablets

Any device with a web browser. Nothing to install, update, or get past IT for.

Interactive Sketches

Mouse and keyboard input turn a drawing into something a viewer can play with.

Save, Share & Submit

Student work saves automatically and can be shared with a link or turned in for grading.

Why use JuiceMind as a teaching tool?

A complete platform built for K-12 computer science education

LTI Integration

Works with Canvas, Google Classroom, and Schoology.

Web-based

Students complete everything on any web browser.

Group Projects

Students collaborate in real-time with classmates.

Debugger

Step through code line by line to find the problem.

Pre-made Exercises

Ready-to-use exercises and projects you can assign today.

24-Hour Support

Customer support around the clock when a class needs it.

Ready to Start Coding?

Jump into our p5.js IDE and start writing code in seconds. No signup required to try it out.