Skip to content

Instantly share code, notes, and snippets.

View learodrigo's full-sized avatar
noland

Leandro Rodrigo learodrigo

noland
View GitHub Profile
@learodrigo
learodrigo / OpenSimplexASM.js
Created May 31, 2020 01:37 — forked from Mocker/OpenSimplexASM.js
OpenSimplexNoise ported to Javascript
/*
* OpenSimplex (Simplectic) Noise in Javascript.
* original by Kurt Spencer (https://gist.github.com/KdotJPG/b1270127455a94ac5d19)
* ported to Javascript (ASM) by Ryan Guthrie
*
*/
function OpenSimplexASM(stdlib, foreign, heap ) {
"use asm";
@learodrigo
learodrigo / OpenSimplexNoise.java
Created May 31, 2020 01:47 — 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