Week 6 Assignment

by kmaio
See Code Download Embed
This code programs a stick figure to dance along to a motif I created while the background changes to the beat. 

In the "Intro" code block, I first initialize tunescope (so the code may take a couple seconds before running). Then the stick figure coughs as he waits for the boom box to show. Once the boom box appears, the stick figure thinks "Time to boogie" and he snaps his fingers.

In the "Dance Position Set Up" code block, the stick figure gets ready to dance. His hat, disco ball and stage appears, the boom box disappears, and his dancing arms appear.

The final code blocks combines each note of the motif I created with the dancing movement of the stick figure and a shift in the background's color. In addition, I randomly placed transparent dots on the stage to emulate the reflection of a disco ball.

Created September 28, 2022

Last updated October 7, 2022

Shared October 4, 2022