# Periodicity of perlin noise

**URL:** <https://discourse.processing.org/t/periodicity-of-perlin-noise/29245>\
**Category:** Coding Questions\
**Created:** [April 9, 2021, 12:35pm UTC](https://discourse.processing.org/t/periodicity-of-perlin-noise/29245 "2021-04-09T12:35:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Leoperix03](https://avatars.discourse-cdn.com/v4/letter/l/f14d63/32.png) [@Leoperix03](https://discourse.processing.org/u/Leoperix03)\
**Post date:** [April 9, 2021, 12:35pm UTC](https://discourse.processing.org/t/periodicity-of-perlin-noise/29245/1 "2021-04-09T12:35:03Z")

</div>

Hey everyone, I created a grid of nodes (every node is a class) and every node has its own color, the problem is that I tried to randomize each node\_color with noise() function, the problem though is that when I scroll through the map the same patterns return. I was wondering if anyone could explain to me what a possible solution might be.

 ![Schermata 2021-04-09 alle 14.32.35](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/2/2d7e4e9851cbf2196227f6261460fe65062ac3e6.png)

This is the picture of the noise function, as you can see there are patterns that repeat a lot and I would like to avoid that.

---

<div class="post-metadata">

**Author:** ![Leoperix03](https://avatars.discourse-cdn.com/v4/letter/l/f14d63/32.png) [@Leoperix03](https://discourse.processing.org/u/Leoperix03)\
**Post date:** [April 9, 2021, 12:44pm UTC](https://discourse.processing.org/t/periodicity-of-perlin-noise/29245/2 "2021-04-09T12:44:24Z")

</div>

I’m a new user so I can’t add more than one pic in a post but here’s a new picture to show what I see when the Region filter is ON and the Perlin noise is divided by 4 instead of 1.

 ![Schermata 2021-04-09 alle 14.37.39](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/2/2d4d4b4ef80f7364e8155e9be706f5bc3c29b434.png)

---

<div class="post-metadata">

**Author:** ![monkstone](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/monkstone/32/64_2.png) [@monkstone](https://discourse.processing.org/u/monkstone)\
**Post date:** [April 9, 2021, 12:54pm UTC](https://discourse.processing.org/t/periodicity-of-perlin-noise/29245/3 "2021-04-09T12:54:36Z")

</div>

You could try [open simplex noise](https://necessarydisorder.wordpress.com/2017/11/15/drawing-from-noise-and-then-making-animated-loopy-gifs-from-there/). I have switched to OpenSimplex for my ruby-processing projects PiCrate and propane and JRubyArt is a wip. You could try toxiclibs OpenSimplex as a half way house. OpenSimplex2 is hosted [here](https://github.com/KdotJPG/OpenSimplex2).

---

<div class="post-metadata">

**Author:** ![Leoperix03](https://avatars.discourse-cdn.com/v4/letter/l/f14d63/32.png) [@Leoperix03](https://discourse.processing.org/u/Leoperix03)\
**Post date:** [April 9, 2021, 8:09pm UTC](https://discourse.processing.org/t/periodicity-of-perlin-noise/29245/4 "2021-04-09T20:09:14Z")

</div>

Thank you very much that was really helpfull
