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);
}
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
| npm config set fetch-retry-maxtimeout 120000 |
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
| syntax on | |
| set number | |
| set relativenumber | |
| " additional setting that just a copy and paste from setting tutorial | |
| set laststatus=2 | |
| set backspace=2 | |
| set nu | |
| "------------------------------------------------------------------------ |
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
| body{background:url('http://lorempixel.com/1000/1000/nature/3') 0 0 no-repeat;color:white;} | |
| #outer{ | |
| width:300px; | |
| height:150px; | |
| background:#646; | |
| position:relative; | |
| cursor:move; | |
| } |