Skip to content

Instantly share code, notes, and snippets.

View bobylito's full-sized avatar
🎩
JSing 🚀

Alex S bobylito

🎩
JSing 🚀
View GitHub Profile
@francois2metz
francois2metz / walk.sh
Created October 24, 2011 21:34
Create a screenshot of a website for each commits in a git repository
#!/usr/bin/env sh
# Under WTPL 2
# https://github.com/AdamN/python-webkit2png
COMMITS=$(git log --format="%H" --reverse)
OUTPUT_DIR="/tmp"
i=0
for commit in ${COMMITS}
do
@banksean
banksean / perlin-noise-classical.js
Created February 15, 2010 10:00
two Perlin noise generators in javascript. The simplex version is about 10% faster (in Chrome at least, haven't tried other browsers)
// Ported from Stefan Gustavson's java implementation
// http://staffwww.itn.liu.se/~stegu/simplexnoise/simplexnoise.pdf
// Read Stefan's excellent paper for details on how this code works.
//
// Sean McCullough banksean@gmail.com
/**
* You can pass in a random number generator object if you like.
* It is assumed to have a random() method.
*/