Moth Simulator (Saul Woolf’s Computer Vision Gestures)

I used computer vision to track an LED in my hand and follow it with a light on the screen. I thought it would be funny to have digital moths follow my digital light, so I modeled a single balls gravitational behavior to represent moth’s attraction to light. and duplicated it (each with random parameters). The digital light’s size directly correlates to the size of the led in my hand (It will look larger the closer it is to the camera). Additionally, the larger the digital light source is, the slower the moths will be to follow it.

6 Comments Add yours

  1. Noah Hillman says:

    The way you modeled the gravity on the balls is amazing, looks very realistic. Adding the distance modifier to the control LED makes it even more interactive too!
    You could add some dynamic color effects to the balls to make it look even better. (maybe based on their distance/speed)

  2. Isaiah Fleischer says:

    Wow! This projects looks awesome! Did you consider having moths come in and out of the screen, like they were getting distracted or they came from a different place? Additionally, you could add a day/night cycle, and the moths stray a bit farther from your “sun” when it’s day time.
    Finally, you could add to the interactivity by trying to catch the moths. It could very easily be turned into a game, and the player wins once they’ve all been trapped or “zapped” by the sun.

  3. Jarod Romankiw says:

    The physics in this is impressive. Really cool how you were able to track in three dimensions. Since I was able to try this out in class, I was very impressed with how accurate it was. I agree with Isaiah, this could be a great game. Maybe if you added a second light, you could catch the moths with another LED, and the goal of the game is to catch all the moths.

  4. Joshua Galang says:

    That’s incredible how you managed the tracking of a handheld light especially with given the time period in 3D. Perhaps you could account for a second light and see how the moths react when placed between them.

  5. Minh-Chau Doan says:

    I was really impressed by your project and how smoothly everything moved. If you could add some audio and have the volume also adjust based on how close the light is to the screen I think that would add to the project and be really cool.

  6. Aidan Sensiba says:

    I like that your project just uses a light and a few dots, yet it still clearly simulates living creatures. I think you could expand this into a game, or maybe have multiple types of bugs that look and behave differently.

Leave a Reply