Runaway nose

The Project

My project is a code written in Javascript on a web editor called P5js. I used the webcam and facial recognition from the ml5 function to create a fun game in which you have a dot floating on your nose and you have to get it into big blue circles to get a point. Get ten points or over in each level to win. I have 4 levels that get harder and harder.

Games
Fun

Team Comments

I chose to make this project because...

I chose to make this project because I wanted to make a fun game to get you thinking fast and that would get you active even on a rainy day.

What I found difficult and how I worked it out

I found it hard to erase the circles which seemed to still be there but invisible. I worked it out by revising the whole code and finally found my error, which was that I hadn’t erased the vectors which were previously acting as the center-point of the circle. I fixed it by using the if() condition.

Next time, I would...

If I had more time I would try to add a ‘try again’ button to my project. I also might have tried to make a few more levels that would be more challenging to the user, e.g. trying to avoid a certain circle, which would decrease your score or even end the game for you.

About the team

  • Ireland
  • CoderDojo

Team members

  • Harshit