Skip to content

Instantly share code, notes, and snippets.

View moonraker22's full-sized avatar
πŸ’­
πŸŒ™ Above the clouds

MooNRakeR (Zac Kesler) moonraker22

πŸ’­
πŸŒ™ Above the clouds
View GitHub Profile
@moonraker22
moonraker22 / GLSL-Noise.glsl
Last active April 16, 2023 06:59 — 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);
}
@moonraker22
moonraker22 / noise.glsl
Created April 16, 2023 02:22 — forked from akella/noise.glsl
noise4d
//
// Description : Array and textureless GLSL 2D/3D/4D simplex
// noise functions.
// Author : Ian McEwan, Ashima Arts.
// Maintainer : ijm
// Lastmod : 20110822 (ijm)
// License : Copyright (C) 2011 Ashima Arts. All rights reserved.
// Distributed under the MIT License. See LICENSE file.
// https://github.com/ashima/webgl-noise
//
@moonraker22
moonraker22 / noise.glsl
Created April 16, 2023 02:23 — forked from akella/noise.glsl
noise.glsl
//
// GLSL textureless classic 3D noise "cnoise",
// with an RSL-style periodic variant "pnoise".
// Author: Stefan Gustavson ([email protected])
// Version: 2011-10-11
//
// Many thanks to Ian McEwan of Ashima Arts for the
// ideas for permutation and gradient selection.
//
// Copyright (c) 2011 Stefan Gustavson. All rights reserved.
@moonraker22
moonraker22 / osx-for-hackers.sh
Created May 20, 2023 16:46 — forked from brandonb927/osx-for-hackers.sh
OSX for Hackers: Yosemite/El Capitan Edition. This script tries not to be *too* opinionated and any major changes to your system require a prompt. You've been warned.
#!/bin/sh
###
# SOME COMMANDS WILL NOT WORK ON macOS (Sierra or newer)
# For Sierra or newer, see https://github.com/mathiasbynens/dotfiles/blob/master/.macos
###
# Alot of these configs have been taken from the various places
# on the web, most from here
# https://github.com/mathiasbynens/dotfiles/blob/5b3c8418ed42d93af2e647dc9d122f25cc034871/.osx