Skip to content

Instantly share code, notes, and snippets.

View jamespantalones's full-sized avatar

James Singleton jamespantalones

View GitHub Profile
@jamespantalones
jamespantalones / GLSL-Noise.md
Created December 30, 2016 20:41 — 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);
}
// * = 0 or more
// + = 1 or more
// ? = 0 or 1
// [] match everything inside
// \s shorthand for space
// ^ grab at start
// $ grab at end
// \b matches word break
// | alteration operator. matches among options
@jamespantalones
jamespantalones / .babelrc
Created July 21, 2017 21:53
Monkey Shader
{
"presets": ["es2015"]
}
node_modules
sudo chown -R $USER ~/.blabla
@jamespantalones
jamespantalones / .gitconfig
Created October 25, 2017 20:43 — forked from brittharr/.gitconfig
gitconfig
[core]
pager = diff-highlight | diff-so-fancy | less -r
[alias]
st = status
ci = commit
br = branch
co = checkout
unstage = reset HEAD --
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
amend = commit --amend --no-edit

Keybase proof

I hereby claim:

  • I am jamespantalones on github.
  • I am jamespants (https://keybase.io/jamespants) on keybase.
  • I have a public key ASBZIiLT2MqCWqwAmPYO_wafDYfW-XqhSvfbZXU5syt3tAo

To claim this, I am signing this object: