Read-Only Mode: Your progress will not be saved, and certain functions are unavailable.Click here to sign upand access the full features of Cratecode.

Art with Code

By: Cratecode

Hopefully you now understand some basic ideas behind computer programming. But, let's be honest, console applications really aren't all that exciting. That's not to say they aren't extremely useful, nor that they aren't fun to build, but that usually requires them to be quite complex. When you're ready for that, I urge you to check out the section that dives a bit deeper into console apps. In this section, we'll take a look at p5.js, a piece of code that lets us create art with code. By the end of this, you'll be a bit more familiar with JavaScript (and able to make some pretty cool things in p5.js).

p5.js is also capable of making little games, which we might get a small look at in this section, but if you're interested, the next p5.js sections will definitely use it.

You probably noticed that the console disappeared. Don't worry, it's now a little p5.js window. All the code is contained in sketch.js**, so try taking a look at it and seeing what it does.

Hey there! Enjoyed the lesson? Consider sharing it with others - it's a huge help and lets us keep making them!

Edit this lesson

Output is unavailable in read-only mode.

AI Assistant


Making Art with Code