Skip navigation
easing is everything
0:00 / 0:40

easing is everything

jhey ʕ•ᴥ•ʔ

@jh3yy149K followers

Visit on X
1,664 likesDownloadOriginal post

272,429 views

easing is everything use different CSS timing functions per axis for custom motion paths 👨‍🍳 .p { animation: x .8s var(--x-time), y .8s var(--y-time); animation-composition: accumulate; } @​keyframes x { to { translate: var(--x) 0 } @​keyframes y { to { translate: 0 var(--y) }

40 Comments

Comments from the original post on X (Twitter)

  • David's profile picture

    @drgvcz

    Back to bookmarking all this shit 😮‍💨

    11 likes

  • jhey ʕ•ᴥ•ʔ's profile picture

    @jh3yy

    @drgdfyi gettin' my site sorted, that could help 🙏

    14 likes

  • David's profile picture

    @drgvcz

    Oh yes.. that would be useful indeed 😅

    1 like

  • notafrog's profile picture

    @_ezpzy

    real design engineering, looks awesome

    3 likes

  • jhey ʕ•ᴥ•ʔ's profile picture

    @jh3yy

    @ez_philz i've genuinely been thrilled about building that custom multi-purpose trackpad control 😅

    2 likes

  • notafrog's profile picture

    @_ezpzy

    would love to hear about where to start with building things like this as a non technical person

  • Thanh Doan's profile picture

    @capythanh

    ngl, i always copy the timing curve from one css trick post and pray

    2 likes

  • jhey ʕ•ᴥ•ʔ's profile picture

    @jh3yy

    @leodoan_ haha – in truth, the way i picked up a lot of these things is by breaking them down and building tools that help me to understand them

    1 like

  • Mehdi · Motionary's profile picture

    @mehdi_made

    THE GOAT

    2 likes

  • jhey ʕ•ᴥ•ʔ's profile picture

    @jh3yy

    too kind 🧑‍🍳 still learning new things all the time 😁

    2 likes

  • Arihant Jain's profile picture

    @arihantCodes

    Hey @jh3yy, how can I create the right-side control panel like this? Is it built using any library?

    2 likes

  • PickleNik's profile picture

    @PickleNik0864

    omg i was trying to make something exactly like this recently by mixing the standalone translate: with transform: translate() to control axis separately

    2 likes

  • jhey ʕ•ᴥ•ʔ's profile picture

    @jh3yy

    animation-composition to the rescue! 🙌

    2 likes

  • Akmal Alif's profile picture

    @akmalalif0v0

    these look very good man🔥

    2 likes

  • Devyansh Yadav's profile picture

    @DevyanshYadavv

    Not quite your level of perfection, but created it as a reusable React component

    2 likes

  • Fede's profile picture

    @buildwithfede

    amazing craft man 👏🏻

    1 like

  • jhey ʕ•ᴥ•ʔ's profile picture

    @jh3yy

    'ppreciated, lookin' forward to finishing this one up 💯

    1 like

  • ONNEN's profile picture

    @OnnenMusic

    Bro you’re insane! GOATed as always ❤️

    1 like

  • jhey ʕ•ᴥ•ʔ's profile picture

    @jh3yy

    too kind 🙏 this has been an absolute side quest which started out as placing a popover ha spoke about this journey in the talk i gave last week ha

  • Akash Singh's profile picture

    @akashgo_012

    this is so smooth! great demo

    1 like