issues
search
mingness
/
alternativesoundtrack
3
stars
0
forks
source link
Sonify blobs
#21
Open
hamoid
opened
8 years ago
hamoid
commented
8 years ago
Make Processing send OSC messages when blobs are detected.
For each blob, take outline points (a,b,c,d) = p(0, 0.25, 0.5, 0.75).
Calculate the aproximate size abs(a-c)+abs(b-d)
If not too large...
Calculate center (a+b+c+d)/4
Sort blob centers by distance to a given configurable point (center of the screen?)
Send first N points to SC (5? normally it will be 0 points...)
Make Processing send OSC messages when blobs are detected.