Skip to content

Instantly share code, notes, and snippets.

View sidthesloth92's full-sized avatar

Dinesh Balaji sidthesloth92

View GitHub Profile
package main
import (
"fmt"
"io"
"os"
)
var path = "/Users/novalagung/Documents/temp/test.txt"
@diessica
diessica / CSS-Sine-Waves.markdown
Last active September 5, 2017 04:26
Senoidal curve made with pure CSS.

CSS Sine Waves

Senoidal curve with SASS + HAML. Pure CSS(3).

Available on CodePen

@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 [email protected]
/**
* You can pass in a random number generator object if you like.
* It is assumed to have a random() method.
*/