Skip navigation
how it works 📚 an invisible scroller drives rotation with css scroll-driven animation only the front…
0:00 / 0:20

how it works 📚 an invisible scroller drives rotation with css scroll-driven animation only the front…

jhey ʕ•ᴥ•ʔ

@jh3yy149K followers

Visit on X
278 likesDownloadOriginal post

12,183 views

how it works 📚 an invisible scroller drives rotation with css scroll-driven animation only the front of the ball gets built and revealed this clip breaks it down ↓

21 Comments

Comments from the original post on X (Twitter)

  • Loki's profile picture

    @lokidotdev

    explanation is more cool than the sphere emoji picker 🤣

    3 likes

  • jhey ʕ•ᴥ•ʔ's profile picture

    @jh3yy

    tbh - that's one of the parts i enjoy most, building the explanations 😅

    1 like

  • Hassan's profile picture

    @HassanHafezzz

    Love this. The scroller trick is brilliant

    2 likes

  • Eugene 🇷🇺🇨🇱's profile picture

    @HugeLeters

    is there a link to play around w/ this yourself?

    1 like

  • jhey ʕ•ᴥ•ʔ's profile picture

    @jh3yy

    sure is! pretty much everything i share here is available on my site 🤙 there's an /index page with like 1,000+ prototypes

    3 likes

  • Kyle R 🇧🇸's profile picture

    @krbkla

    Just missing the marvel vs capcom 2 BGM loop

    1 like

  • Tapiwa X's profile picture

    @_tapiwax

    Wow that's cool, damn your imagination is on overdrive. Big up yourself

    1 like

  • jhey ʕ•ᴥ•ʔ's profile picture

    @jh3yy

    thanks! 🙏 i have a ridiculously large backlog of ideas and designs that is getting a new lease of life ha

  • Affogato- hire me plz's profile picture

    @Affogatolorb

    Imagine this inside apple vision pro 😍

    1 like

  • jhey ʕ•ᴥ•ʔ's profile picture

    @jh3yy

    would be epic 😅

    1 like

  • Atul's profile picture

    @sudoaptaj

    An invisible scroller rotating a ball is such a clever trick, CSS magic tricks are the best ones 🪄

    1 like

  • DENKRADIUS's profile picture

    @denkradius

    Love that it is all scroll-driven CSS, no JS loop. From our view this is where web design is heading: effects that cost almost nothing at runtime.

  • Satnam S Virdi (ਸਤਨਾਮ ਸਿੰਘ ਵਿਰਦੀ)'s profile picture

    @satnamsvirdi

    That's insane! Love it!!!

  • Alpy MCP's profile picture

    @AlpyMCP

    So smart. Building only the front keeps the emoji globe light. Wonderfully clever.

  • Li Yibai's profile picture

    @yibaili530

    Wow, learned so much from this, thank you!

  • bitan paul's profile picture

    @bitanpaul933

    best explanations hands off

  • Hexabl0b's profile picture

    @hexablob

    It’s the clever bit… trackpad momentum and touch flinging come from the browser for free, and the rotation is just a timeline reading scroll position no pointer math, no raf loop pretending to be physics 🫶

  • 808's profile picture

    @HaAtlantic

    the “explode” explanation makes my head explode as usual 😭 i genuinely cant wrap my head around how u manage to break down such insanely complex problems into these beautifully simple, logical steps. like how does ur brain even work?

  • yuxuan.o-o's profile picture

    @yuxuan_o_o

    haha cuuute, smart approach!

  • eliza's profile picture

    @elizaognyanova1

    Insanse🤯