Skip to content

Openfrmeworks Math/Particles example modified to track the brightest pixel in ofVideoGrabber, so you can use something bright in front of the camera and interact with the particles.

alexmargineanu/ofMathParticle_Brightestpx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ofMathParticle_Brightestpx

Openfrmeworks Math/Particles example modified to track the brightest pixel in ofVideoGrabber, so you can use something bright in front of the camera and interact with the particles.

See it in action

The code that I've added on top of particlesExample is complete gibberish, I'm using the tutorial http://openframeworks.cc/ofBook/chapters/image_processing_computer_vision.html to track the brightest pixel, and I've replaced ofImage with ofVideoGrabber. I've used maxBrightnessX and maxBrightnessY as the new coordinates in the particles example. It works most of the time :)

This is my first time using C++, so be gentle, I come from a web frontend background, so this is my graduation :p

openframeworks rulez!

About

Openfrmeworks Math/Particles example modified to track the brightest pixel in ofVideoGrabber, so you can use something bright in front of the camera and interact with the particles.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages