Skip to content

Instantly share code, notes, and snippets.

View JamieShelley's full-sized avatar

Jamie Shelley JamieShelley

View GitHub Profile
@JamieShelley
JamieShelley / Install NVIDIA Driver and CUDA.md
Created November 17, 2018 02:54 — forked from zhanwenchen/Install NVIDIA Driver and CUDA.md
Install NVIDIA CUDA 9.0 on Ubuntu 16.04.4 LTS
@JamieShelley
JamieShelley / GLSL-Noise.md
Created October 15, 2017 20:06 — forked from patriciogonzalezvivo/GLSL-Noise.md
GLSL Noise Algorithms

Generic 1,2,3 Noise

float rand(float n){return fract(sin(n) * 43758.5453123);}

float noise(float p){
	float fl = floor(p);
  float fc = fract(p);
	return mix(rand(fl), rand(fl + 1.0), fc);
}
@JamieShelley
JamieShelley / OpenSimplexNoise.cs
Created December 1, 2016 12:07 — forked from digitalshadow/OpenSimplexNoise.cs
OpenSimplex Noise Refactored for C#
/* OpenSimplex Noise in C#
* Ported from https://gist.github.com/KdotJPG/b1270127455a94ac5d19
* and heavily refactored to improve performance. */
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
namespace NoiseTest