Modular 2d, 3d, 4d and 6d noise library

I recently ported Joshua Tippetts’ Accidental Noise Library to use in my game.

It’s up on GitHub here: https://github.com/codetaylor/Joise

Check it out. Use it. Pick it apart. Let me know if you find it useful or think it needs something.

Edit 07-31-2013: fixed the link to the Accidental Noise Library

I have a noise implementation, which works in any number of dimensions! ::slight_smile: :stuck_out_tongue:
(shamelessly bragging here :persecutioncomplex: :wink: )


(Optimized versions are the packages ‘noise1’, ‘noise2’ and ‘noise3’)

My implementation isn't that advanced... Its simple simplex noise, no module chaining there :)

Hi there,

I’m trying to use your source for the noise library, when looking at your example that comes with it, it appears I’m missing some imports:

import static org.junit.Assert.assertEquals;

import org.junit.BeforeClass;
import org.junit.Test;

Are these needed to use the library?

Thanks

No, the junit classes are for the unit tests in the tests folder. I don’t have any examples aside from the github readme… something I’ve been meaning to do for a while.

Ok, I’ve updated the repo to include a simple, stand-alone example of how to link a generator to another module and how to sample the noise. Hope it helps! :slight_smile:

For further reference, I suggest checking out Joshua Tippetts’ Accidental Noise Library here: http://accidentalnoise.sourceforge.net/

My lib is simply a port of his lib so it works pretty much the same. He has good examples of how to use the modules and what they do.

Also, it looks like the link to his lib in my original post did not turn out right. I will edit that straight away.

Quick Tip:

Add a demonstration picture showing off what your library can do. I bet you can generate wonderful mountain heightmaps or animated clouds.

Pack those into a .png or .gif and put them in your README.md! (.gifs are awesome!)

:slight_smile: