A fun experiment trying to simulate water drops splashing.
A Pen by Cristián Berríos on CodePen.
{ | |
"basics": { | |
"name": "Cristián Berríos", | |
"label": "Programmer", | |
"picture": "", | |
"email": "cristian.berrios@outlook.cl", | |
"phone": "1 832 829 9178", | |
"website": "http://crisberrios.github.io", | |
"summary": "Passionate about creating new and interesting things, making people happy and helping the world be a better place through technology.", | |
"location": { |
A fun experiment trying to simulate water drops splashing.
A Pen by Cristián Berríos on CodePen.
made with esnextbin
made with esnextbin
made with esnextbin
function pairwise(arr, arg) { | |
var cloneArr = arr.slice(0); | |
return pair = cloneArr | |
.map(function(i) { | |
return arg-i; | |
}) | |
.map(function(i,index) { | |
var pairIndex = cloneArr.indexOf(i); | |
/*-----------------------------------*\ | |
$HEADER | |
\*-----------------------------------*/ | |
.site__header { | |
-webkit-animation: bounceInUp 1s; | |
} | |
.site__title { | |
color: #f35626; |
function drawer(price, cash, cid) { | |
var values = { | |
'ONE HUNDRED': 100, | |
'TWENTY': 20, | |
'TEN': 10, | |
'FIVE': 5, | |
'ONE': 1, | |
'QUARTER': 0.25, | |
'DIME': 0.1, |
/(^1? ?\(?\d\d\d\)?[ -]?\d\d\d[ -]?\d\d\d\d)$/g; |
var gcd = function (a,b){ | |
if ( ! b) { | |
return a; | |
} | |
return gcd(b, a % b) | |
} | |
var lcm = function (i,j){ | |
return (i*j)/gcd(i,j); | |
} |