Go Down

Topic: Perlin noise in Arduino (Read 655 times) previous topic - next topic


In Processing, I've used the Perlin noise() function to generate less random randomness. I was wondering if there is something like this in Arduino.

Basically, I have a servo controlled robotic arm and would like one of the servos to position randomly, but don't want it to be totally whipping all over the place. The noise() function would solve this issue, but perhaps there is another way to do it...

thanks for any help!


One workaround I used was to generate a large string of numbers in processing using noise() and pasted those values into an array in the arduino sketch and pulled values as needed. Yes it would loop after some time but it created the illusion of the 'smooth random' of perlin noise and who was going to know otherwise. IIRC someone was working on a variant of noise for the arduino so you might look around some more...


Go Up