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 ...

Get Getting Started with p5.js now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.