Skip to content

Instantly share code, notes, and snippets.

View turtiustrek's full-sized avatar

Mubin Mir turtiustrek

  • Chemnitz, Germany
  • 15:22 (UTC +02:00)
View GitHub Profile
@KdotJPG
KdotJPG / OpenSimplex2S.java
Last active June 19, 2024 15:44
Visually isotropic coherent noise algorithm based on alternate constructions of the A* lattice.
/**
* K.jpg's OpenSimplex 2, smooth variant ("SuperSimplex")
*
* More language ports, as well as legacy 2014 OpenSimplex, can be found here:
* https://github.com/KdotJPG/OpenSimplex2
*/
public class OpenSimplex2S {
private static final long PRIME_X = 0x5205402B9270C86FL;