Jason's notes

Week3 Forces

For week 3’s assignment, I created this sketch that you can launch a rocket with pretty cool effect. Try it below, or on p5.js editor

Some ideas & interesting features include:

  • Two forces are implemented, one is gravity and the other is the push power you give to the rocket.
  • Auto-generated blinking star background originally from another sketch I made.
  • Flames are colorful ellipse doing random walk and fading.
  • There is also a special ‘Coding Train’ edition.

Nyan train

It wasn’t my intention but the final output looks a lot like Nyan Cat.