Alondra Guerra

โ† IAT 806

Lab 05 โ€” Misbehaving Balls

An interactive animation with colorful moving balls.

My Sketch

How It Works

I added two new methods to my Ball class. The first method, followMouse(), makes the balls move toward the mouse cursor. The second method, changeColor(), makes the balls change colors over time. Move your mouse around the canvas to interact with them.