Include dynamics.js into your page:
Now we can animate CSS properties of any DOM element:
var path = document.querySelector("path")
d: "M0,0 L0,100 L100,50 L0,0 Z",
// rotateCX and rotateCY are the center of the rotation
Many interesting effects / examples at project homepage:
Strictly Necessary Cookies
Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.
If you disable this cookie, we will not be able to save your preferences. This means that every time you visit this website you will need to enable or disable cookies again.