Cyclic noise function

Started by
3 comments, last by TheAdmiral 16 years, 9 months ago
Hello everyone, I want to create a cyclic noise function which repeats itself continuously, i.e. without a noticable jump. I have a random number generator and a filterfunction, but I don't know how I can apply the filter cyclic without any noticable gaps. Has anyone maybe a sample code which shows me how a cyclic noise without edges can be created?
Advertisement
Check out the noise section at wikipedia for some good info.

The most popular function for this type of thing is called "perlin noise"

Many good reads for perlin noise already exist, and are but a google search away.

-M
Hi,

I know Perlin noise. However, I want to filter my random values cyclic such that I only have to create a single tile which I can seamlessly place beside another tile without a noticable gap.

Maybe someone has done something like this already and can post some code or explanation how I get a continuous transition.

Thx
Perlin noise can be cyclic. Google for "tiling perlin noise" to find out how.
Perhaps a truncated Fourier series would suit your needs. What requirements do you have, and what resources are freely available? For maximal smoothness, something Fourier- or wavelet-based would do a good job, but for minimal evaluation cost, a Perlin approach would be better. There are many other, less widely documented options.

Admiral
Ring3 Circus - Diary of a programmer, journal of a hacker.

This topic is closed to new replies.

Advertisement