For this second part of this project, we had to redesign our robots using Level Triggered Logic. Thus, Alexa and I redesigned our kinetic sculpture to dance while the music is playing and stop when the music stops. To accomplish this, we programmed our code to check to see if the music had stopped playing after every sequence of steps.
The Code: Our Kinetic Sculpture functions on running these two stacks simultaneously.
The stack of code defining our block "Stack2"
The Music
The Dance Moves: A set of our own blocks defining the dance moves used in "Stack2"
No comments:
Post a Comment