Skip to content

Instantly share code, notes, and snippets.

View ullaskunder3's full-sized avatar
🎯
Focusing

ullas kunder ullaskunder3

🎯
Focusing
View GitHub Profile
/*
* OpenSimplex (Simplectic) Noise in Java.
* (v1.0.1 With new gradient set and corresponding normalization factor, 9/19/14)
*/
public class OpenSimplexNoise {
private static final double STRETCH_CONSTANT_3D = -1.0 / 6;
private static final double SQUISH_CONSTANT_3D = 1.0 / 3;