heisters/ofxAnn — pull request #1 by arneboon (2014-02-27 22:33:24+00:00)
Title: proposing parameter example based on vector<float> (n=15) in stead of ofPoints

hi dear Ian,

for a project i was in need for a k-nearest algorithm in OF and bumped into your ofxAnn addon. it is awesome! thanks for putting it out there.

instead of working with points (x,y,z), i need to work with parameters consisting of 15 values to apply the algorithm too.

i have been playing around with the addon to get from an ofPoint to a vector and have implemented this by extending your original basic example.

the results seems to be working after testing various parameter values. it is attached to this email.

i was wondering if you think this implementation is making sense, or am i messing things up here? if you consider it valuable and correct it might be cool to add it to the repository for other people to use.

thanks again for contributing this addon,

best regards from utrecht, the netherlands,

Arne.