Skip to content

Instantly share code, notes, and snippets.

View ankoh's full-sized avatar

André Dirnberger ankoh

View GitHub Profile
@ankoh
ankoh / OpenSimplexNoise.java
Created January 9, 2016 18:45 — forked from KdotJPG/OpenSimplex2S.java
Visually axis-decorrelated coherent noise algorithm based on the Simplectic honeycomb.
/*
* OpenSimplex Noise in Java.
* by Kurt Spencer
*
* v1.1 (October 5, 2014)
* - Added 2D and 4D implementations.
* - Proper gradient sets for all dimensions, from a
* dimensionally-generalizable scheme with an actual
* rhyme and reason behind it.
* - Removed default permutation array in favor of
@ankoh
ankoh / clean.bash
Created January 9, 2016 18:42 — forked from nsf/clean.bash
Perlin noise benchmark
#!/bin/bash
rm -rf *.o *.[568] test_*