fro this week we are instructed to build an arduino-processing connections to achieve the goal of using physical controllers to control an image.
what i did:
a little joke game inspired by a meme “皮皮虾我们走”
the user can control the position (i.e. x and y values) of the image using two potentialmeters and the size by an other potentialmeter. for accuracy and tideness of the game i mapped the values of the potentialmeters to the width/hight/max size of the image so that the image cannot exeed the border of the canvas.
for the final pun of this game i simply record the distance that the image moved, when it exeed a certain value, reload the screen to another image