Please steal freely. This is all public domain.

Thanks for the tips on making them work on OSX.

-John

On Thu, May 17, 2012 at 4:07 PM, Max <abonnements@revolwear.com> wrote:

Am 14.05.2012 um 14:32 schrieb John Harrison:
> One thing I wrote as an example for the students in the class was a color tracker which could track primary colors. I thought I saw a conversation on the list earlier were somebody was writing an external for color tracking, but at least primary colors can all be tracked in Gem. Maybe it's obvious but in case it's not:
> http://cratel.wichita.edu/blogs/ee577aspring2012/forum2/code-group3/pd-patches-forum4/2-color-trackers-thread16/

john, nice patches. may i steal bits of that for my „bewegungsmelder" collection?
i had to do three things to make them work for me
1. add [declare -lib Gem] to make Gem load
2. add [pix_rgba] because the default colorspace on os x is yuv
3. invert the Y axis by changein *8 -4 to *-8 +4

max