During this workshop, you will start from an empty p5.js web page and progress through a series of “particle systems” animations.
The goal of this workshop is to help you become aware of some of the tools and techniques that are available in JavaScript and in p5.js, and to practice some of the element of a productive programming workflow. You might never write your own particle system after this workshop! (There are libraries for this, for p5.js and for other platforms.) Rather, the things that we practice today will be useful to you in your programming in general, and can be applied to coding other parts of your project (and to programming outside this course).
You are not expected to remember exactly how to use everything that appears on the screen. Instead, now that you have seen that they exist, you can ask the instructors and others how to do a thing, when you recognize that it may be useful in your own work. Also, after class we will post the code that was used today, so that you can refer back to it.
The instructions for configuring Visual Studio Code and Chrome for web development have moved here.
Launch Visual Studio Code.
Verify that File > Auto Save is enabled:
Open the Extensions panel ①. Search for the “Live Server” extension ②. Install it ③.
git clone <https://github.com/osteele/p5-particle-workshop.git
>p5-particle-workshop
sketch.js
file.