Shenshen Lei
sl6899
This week I create a interactive game named having a quite night. Initially there will be several mosquitoes flying around the screen. The camera and the mic will detect the users’ two hand and display it on the screen. When the mosquito is close enough and the sound of clasp is louder enough, the mosquito will disappear. If the user catch all six mosquitoes before the timer finish, a “sleep well” picture will came out, otherwise a sad face will appear on the screen.
I edit the code based on the sample code of interaction BodyPix. But there are still some logic problems in the program. I am confused about how to site class functions in draw function functions relates to array. I am keep working on the program and try to fix the bug and will make it playful in new versions.
One problem of the Bodypix game is that the camera and the picture on the screen display with time lags. Also the shape of hand is no accurate enough. Sometimes the camera may recognize things that have similar shape with hand and projects it on screen.