Skip to content

Java implementation of LibNoise, with additional functions for simple erosion, river pathfinding and hillshading terrain images

License

Notifications You must be signed in to change notification settings

dhlevi/JavaLibNoise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JavaLibNoise

A Java implementation of the LibNoise library, with some additional functions added for simulating erosion, pathing rivers, and applying hillshading to the outputs, as well as reprojecting the generated image (if it's a spherical map) to mimic a Mercator or Miller Cylindrical output.

Original libnoise source available at: http://libnoise.sourceforge.net/

You can use the LibNoise library for generating all sorts of useful random noise for a number of interesting applications. My personal favorite is (attempting) the creation of somewhat realish looking terrains.

Running the tester out of the box should produce some lovely images, like so:

Randomly generateed heightmap: Heightmap

And add some style: Styled Terrain

If you're just interested in hillshading (for DEM's and the like) and just don't want to use the many other alternatives out there, you can use the code there to produce something like this:

Heightmap: Heightmap

Hillshaded Result (with a splash of color) Styled Terrain

About

Java implementation of LibNoise, with additional functions for simple erosion, river pathfinding and hillshading terrain images

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages