Make a smooth noise-transition from the end of a for-loop to the start of the next
in
Programming Questions
•
16 days ago
Hi!
I made a circle affected by animated perlin noise. The problem is, that once the for()-loop is through, the last point from the circle never really matches with the first one. I think that's because the noise values, which are dependent from the loop variable 'a' cannot be translated smoothly from the end of the loop to the start of the next loop because there are no points in between and 'a' equals 0 again.
When I make a continuous variable for noise and add 'a' to it, the whole shape changes too fast. So I need to somehow get the noise values to smoothly come back to where they came from (which is 'a' = 0), but in a different way then before,
to avoid the jagged edge
. I know this sounds confusing.
Here's the sketch, so you get the idea:
http://www.openprocessing.org/sketch/112858 (move the mouse to top-left corner to see the problem)
Maybe any idea?
1