p5.js in the CodeHS Sandbox

Creative coding and game building with JavaScript graphics libraries. Every program runs right in the browser—even on Chromebooks!

p5.js

p5.js

Creative coding with the p5.js library: draw, animate, and respond to input using JavaScript, right in the browser.

Create New

JS Game Lib

p5.js

Build 2D games in JavaScript with sprites, collisions, and animation handled for you by the CodeHS game library.

Create New