Perlin Noise (Improved Noise) on Arduino

A Perlin noise implementation for Arduino.

Update: I would recommend using the noise functions in the FastLED library if you’d like to use Perlin Noise on an Arduino. Their algorithms are highly optimised for use on Arduino.

I’ve implemented the Improved Noise example for Arduino. Originally this is developed for a light installation, however the example below shows the effect (and the time it takes) in the Serial monitor.


Configure the monitor for 57600 Baud. It takes about 12ms to render the noise for 50 lights (about 4ms for 20 lights). In an earlier post on the Arduino forum I used another implementation, that one took 7ms for 20 lights.

Buy Me a Coffee at ko-fi.comWas this article useful to you? Buy me a coffee!