Motusはスクロールに応じて任意の要素にアニメーションを付与する為のライブラリです。非依存なので単体で使えます。アニメーションはCSS keyframesライクな書き方ができますのでCSSの知識がある方なら扱いやすいと思います。 const customStartPointAnimation = new Motus.Animation( new Motus.Point(document.getElementById('start-point')), new Motus.Point(document.getElementById('end-point')), document.getElementById('cube-startend'), { 50: { width: '200px', marginLeft: '100px', }, 100: { width: '100px', marg
![スクロールに応じてCSS keyframesライクな書き方でアニメーションを付与できる・「Motus」](https://cdn-ak-scissors.b.st-hatena.com/image/square/2defdd1c6312a0689dd9c913de777198cbc6849c/height=288;version=1;width=512/http%3A%2F%2Fkachibito.net%2Fwp-content%2Fuploads%2F2018%2F06%2Fmotus01.jpg)