Hi,
I am trying to reproduce some animations based on google material design motion:
https://material.io/guidelines/motion/movement.html
I've got a decent start on making a floating action button morph into a card and here is what I have thus far:
Although it's ok, I have 2 questions that maybe someone can help me with to make this better:
1. For the Bezier plugin curve I am doing this:
var dw = window.innerWidth;
var dh = window.innerHeight;
var mw = dw * 0.1;
va