Skip to content

Instantly share code, notes, and snippets.

@KdotJPG
KdotJPG / OpenSimplexNoise.cs
Last active Sep 21, 2020 — forked from digitalshadow/OpenSimplexNoise.cs
OpenSimplex Noise Refactored for C# (with updated gradient sets)
View OpenSimplexNoise.cs
/* OpenSimplex Noise in C#
* Ported from https://gist.github.com/KdotJPG/b1270127455a94ac5d19
* and heavily refactored to improve performance.
* Updated Dec 2019, Feb 2020: New Gradients, XYBeforeZ + XZBeforeY 3D functions. */
using System;
using System.Runtime.CompilerServices;
namespace NoiseTest
{