In this Live Stream, I take on two Coding Challenges. First, I make a version of the classic Atari game Asteroids using JavaScript and HTML5 canvas with the p5.js library. I then implement “Pixel Sorting” in Processing (Java). I sort the pixels of an image by brightness and hue.

8:45 – Short Q&A
22:58 – Coding Challenge: Asteroids with p5.js
1:56:17 – Coding Challenge: Pixel Sorting in Processing
2:25:00 – Conclusion/Q&A

Support this channel on Patreon:

Send me your questions and coding challenges!:


Links discussed in this video:
Asteroids on Wikipedia:
Mike Bostock’s page on Visualizing Algorithms:
My Trigonometry and Polar Coordinates video:
Sirajology’s channel:
Kittens Song:
This Dot Song on Soundcloud:

Source Code for the all Video Lessons:

Asteroids Code:
Asteroids Game:


For More Live Streams:
For More Coding Challenges:

Help us caption & translate this video!