Lucky Cotton Candy

Ye Lu

Try this "Wheel of Fortune", you may get a chance to make cotton candy yourself!


I am going to design a simple game to test how lucky you are at the day. There will be a “Wheel of Fortune” in p5, and it is always rotating. If people press the mouse, it will stop at one color, and different colors will lead to different results. Only PINK, ORANGE and BLUE will activate my servo which opens the box, so that people can get different colors of sugar to make cotton candy themselves. Otherwise, they may get some other feedbacks, and some colors lead to nothing but “Thank you for participating”. (I need a table to store my machine and boxes, and I need to be near socket.)


Introduction to Physical Computing ITPG-GT.2301.007