Skip to content

Instantly share code, notes, and snippets.

@tombsar
tombsar / gradient.hh
Created January 8, 2015 15:06
C++ port of Michael Powell's Simplectic Noise, originally written in Rust. His algorithm is described in a blog post here: http://www.spiritofiron.com/2015/01/simplectic-noise.html
/*
* Simplectic Noise in C++
* by Arthur Tombs
*
* Modified 2015-01-08
*
* This is a derivative work based on Simplectic Noise in Rust
* by Michael Powell:
* http://www.spiritofiron.com/2015/01/simplectic-noise.html
*
@tombsar
tombsar / OpenSimplexNoise.hh
Last active March 4, 2022 22:35 — forked from KdotJPG/OpenSimplex2S.java
C++ port of KdotJPG's OpenSimplexNoise in Java. A self-contained set of functions for generating visually axis-decorrelated, coherent noise from a simplectic honeycomb.
/*
* OpenSimplex (Simplectic) Noise in C++
* by Arthur Tombs
*
* Modified 2015-01-08
*
* This is a derivative work based on OpenSimplex by Kurt Spencer:
* https://gist.github.com/KdotJPG/b1270127455a94ac5d19
*
* Anyone is free to make use of this software in whatever way they want.