O'Reilly logo

Make: Getting Started with p5.js by Ben Fry, Casey Reas, Lauren McCarthy

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 2. Starting to Code

To get the most out of this book, you need to do more than just read the words. You need to experiment and practice. You can’t learn to code just by reading about it—you need to do it. To get started, download p5.js and make your first sketch.

Environment

First, you’ll need to get a  code editor. A code editor is similar to a text editor (like Notepad or Notes), except it has special functionality for editing code instead of plain text. You can use any code editor you like; we recommend Atom and Brackets, both of which can be downloaded online.

There is also an official p5.js editor in development. If you would like to use it, you can download it by visiting http://p5js.org/download and selecting the button under ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required