Flyers

This program creates a Flyer class to encapsulate all of the logic for creating a “bug” that follows the mouse around using a heading angle and a speed. This provides more realistic movement, but it lets us keep our draw() function nice and simple.

For you to try:

  • Copy and paste this code into processing, run the program and check what it does.

  • Try:

    • Change the color of the Flyers

      • Single color for all Flyers

      • Random Color for each Flyer

    • Change the number of Flyers

      • Random number of Flyers

      • A different number of Flyers

    • Anything Else you can think of to make the program unique