For this week, the project that I created is called “The Bound Artist”. What I want to create is that when your hands are tied together, you can draw images with rainbow-color. But when you free your hand and stretch your arms, all your paintings would disappear. I also uses an ellipse to cover the user’s face in order to create an atmosphere where users don’t have to care about their identity.
First, I combined two code sources we learned during the class. By tracking the coordination of my nose, I created an ellipse that covered my whole face. Then I tried to add more coordinations on my body into the interaction. Using poseNet, I managed to locate my eyes, wrists and shoulders. I also used the distance between my eyes to control the size of the circle covered on my face so that it can change its size corresponding to my distance to the camera. By assigning the distances between two wrists and two shoulders, I made the drawing start if the distance between two wrists is smaller than the distance between two shoulders. I also set a limit so that as soon as the distance between two wrists is large enough, it would automatically clear out the canvas.
For improvement, I used the HSB color mode and made those existing images change color smoothly and constantly. Those images would also float around inside the canvas if I don’t trigger the “clear out” function. I also used the “THRESHOLD” filter to highlight the color and images on the canvas.
This is how “The Bound Artist” looks like:
Code for my project: https://glitch.com/~mlni-w04-sonny
References: