This program creates a Flyer
class to encapsulate all of the logic for creating a “bug” ![](upload://eZ3dpIGI1FOYSDDBi5qBg2HtmiN.png) that follows the mouse around using a heading angle and a speed. This provides more realistic movement, but it allows us to keep our draw()
function nice and simple.
This is a companion discussion topic for the original entry at https://happycoding.io/examples/processing/creating-classes/flyers