Go Down

Topic: PVector for Arduino (Read 645 times) previous topic - next topic

digitalColeman

Hello all, I am trying to convert a program from processing to arduino because I needed to visualize the resulting mathematical model to fine tune it.  I am running into a problem because it is a boids model chocked full of PVectors.  There doesn't seem to be a vector math library for arduino and I am too deficient in C to do the conversion of the library properly.  I would deeply appreciate any guidance on an alternative or tips for converting the PVector library itself.  Here is a link to the Library..
http://www.google.com/codesearch/p?hl=en#Ej56LtI_pY0/trunk/processing/android/core/src/processing/core/PVector.java

Many Many thanks...

robtillaart

some searching lead me to this lib - http://www.arduino.cc/playground/Code/MatrixMath
it does matrix math which is a close cousin of vectors IIRC :)


Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

digitalColeman

I decided to do the Java->Arduino Library conversion...seems to work, code to come soon!

Go Up