Archive

Archive for November, 2007

The true story of the perlin noise filter

2 November, 2007 2 comments

Once upon a time was a Krita hacker trying to draw a futuristic car, but who not only end up with a car looking like a prototype of the early 60s of the previous century, but with really flat colors.

Swarming noise

Guided by the Force, the Krita hacker, weaving as only weapon, his keyboard, against the hordes of evil Bugs, started his quest by writing the skeleton of his filter, and to ensure a swift victory, he decided to test that the basic of his filter was working using the most simple noise generator, the Holy function “rand()”.

Even if the result isn’t very nice, he decided to record his findings on a scroll in the temple of krita-plugins subversion repository.

Perlin noise

On his way toward enlightenment, our hacker found an old volume of the chronicles of Wikipedia open at a page describing how, a long time ago in a far away galaxy, Ken Perlin invented a new sort of noise, called the Perlin noise.

And that’s how the invocation of the Perlin noise is done in Krita:

Here is a result with a high amount of noise, and little turbulence:

And now with more turbulence but a less contrasted noise:

And now, for the lazy who don’t want to walk one step away of their monitors, it is how it looks at the normal level of zooming:

That end the story of how a Krita hacker has added a simple function existing for ages in every other graphics application out there.

Advertisements