Create Asteroids in p5.js

In this guide you will learn how to create a simple physics-based asteroid-avoidance game. The easiest way to follow along is to use the p5 web editor. It’s free and open to anyone; to save you’ll need to create an account.