📁 src
📁 assets
📁 images
📁 videos
📁 js
📁 pug
📁 templates
I hereby claim:
- I am inclushe on github.
- I am ethanw (https://keybase.io/ethanw) on keybase.
- I have a public key ASAz67iPPKRX1g6Ad4Wj0qVqPxeES2Or-Sm5aS6oL3iYOQo
To claim this, I am signing this object:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| module.exports = { | |
| characters: ['', ''], | |
| encode: function (input) { | |
| var output = '' | |
| var binary = '' | |
| for (var char = 0; char < input.length; char++) { | |
| var dec = input.charCodeAt(char).toString(2) | |
| binary += Array(9 - dec.length).join('0') + dec | |
| } | |
| for (var bit = 0; bit < binary.length; bit++) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var dis = { | |
| is: { | |
| how: { | |
| this: { | |
| is: { | |
| done: "Yeah" | |
| } | |
| } | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function rand(min,max,round) { | |
| if(round === false){ | |
| return (Math.random() * (max-min)) + min; | |
| } | |
| else { | |
| return Math.round((Math.random() * (max-min)) + min); | |
| } | |
| } | |
| function createNoiseFromColors(w, h){ |
NewerOlder