Arpeggio Screensaver

So on Khan Academy, I created one of those classic screensavers with the object that bounces off the sides of the screen. The object is a basic music staff with four notes making an Em chord arpeggio (assume treble clef). For a bonus, the background color morphs randomly. Also, click anywhere to make the staff move to your click position.

Oh, for that moment when the staff hits exactly in the corner!

Follow the title link below to see the code, and edit it as a Spin-off if you want.

Arpeggio Screensaver

Made using: Khan Academy Computer Science.

Leave a Reply

Your email address will not be published. Required fields are marked *