Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

Just figured out how to do that smooth Apple scroll effect in 2 steps! It came down to two things: 1. Generating a scroll-optimized video with xAI GROK 2. Turning it into frames in v0 so users can actually scroll through it That's it! 🤯 You might wanna save...

74,362 Aufrufe • vor 5 Monaten •via X (Twitter)

49 Kommentare

Profilbild von Fabian Albert
Fabian Albertvor 5 Monaten

@xai @v0 if you're on Framer and want the easiest and quickest solution here you have it

Profilbild von Safinaz Elhadary
Safinaz Elhadaryvor 5 Monaten

@xai @v0 Thank you! I’ll try it out for sure

Profilbild von Luigi De Rosa
Luigi De Rosavor 5 Monaten

@xai @v0 Ehm, that’s not how was made though

Profilbild von alli
allivor 5 Monaten

@xai @v0 she's baaaaaack!!!

Profilbild von Safinaz Elhadary
Safinaz Elhadaryvor 5 Monaten

@xai @v0 currently defrosting after months of hibernation! But we are sooo back! 💃🙌

Profilbild von OSOW
OSOWvor 5 Monaten

@v0 @xai That’s sick!!! 💪🏻💪🏻💪🏻🔥🔥🔥

Profilbild von Safinaz Elhadary
Safinaz Elhadaryvor 5 Monaten

@v0 @xai 🙌💃🙌

Profilbild von aaki building Neo Protein
aaki building Neo Proteinvor 5 Monaten

@xai @v0 cool! come do this for Neo Protein

Profilbild von Safinaz Elhadary
Safinaz Elhadaryvor 5 Monaten

@xai @v0

Profilbild von Eino
Einovor 5 Monaten

@v0 @xai This is a cool ai use case

Profilbild von Safinaz Elhadary
Safinaz Elhadaryvor 5 Monaten

@v0 @xai Thank you!!

Profilbild von Dreamsandcode
Dreamsandcodevor 5 Monaten

@xai @v0 This is amazing, thank you!

Profilbild von Taylor
Taylorvor 5 Monaten

@xai @v0 I like the 3m tutorial length. Super easy to follow

Profilbild von ˗ˏˋ Terry Sutton ˎˊ˗ — e/shadcn/ui
˗ˏˋ Terry Sutton ˎˊ˗ — e/shadcn/uivor 5 Monaten

@xai @v0 very cool

Profilbild von Safinaz Elhadary
Safinaz Elhadaryvor 5 Monaten

@xai @v0 Thanks Terry! Come back to SF soon!

Profilbild von Kwame
Kwamevor 5 Monaten

@v0 @xai Super cool, earned a follow 👌🏿👌🏿👌🏿

Profilbild von Safinaz Elhadary
Safinaz Elhadaryvor 5 Monaten

@v0 @xai Thank you!!

Profilbild von Emanuel Perez
Emanuel Perezvor 5 Monaten

@xai @v0 Wow

Profilbild von Carson Suite
Carson Suitevor 5 Monaten

@xai @v0 👀👀👀

Profilbild von Maayan Albert
Maayan Albertvor 5 Monaten

@xai @v0 So cool!!

Profilbild von Safinaz Elhadary
Safinaz Elhadaryvor 5 Monaten

@xai @v0 Thank you❤️🙌

Profilbild von Dima
Dimavor 5 Monaten

@xai @v0 nice stuff

Profilbild von Safinaz Elhadary
Safinaz Elhadaryvor 5 Monaten

@xai @v0 Thank you!

Profilbild von Ubaid Ullah Wahab
Ubaid Ullah Wahabvor 5 Monaten

@xai @v0 Breaking that Apple-style scroll into just two steps with GROK + v0 is super clean. It makes highend UX feel accessible for any landing page. What frame rate did you find works best for keeping the scroll buttery smooth? I share daily AI workflow tips too.

Profilbild von Lina Colucci
Lina Coluccivor 5 Monaten

@xai @v0 Amazing video. Very helpful. Thank you!

Profilbild von Safinaz Elhadary
Safinaz Elhadaryvor 5 Monaten

@xai @v0 Thank you! Glad you liked it!

Profilbild von Shaz
Shazvor 5 Monaten

@xai @v0 Might wanna try it, the shawarma one is amazing

Profilbild von Logika Agency
Logika Agencyvor 5 Monaten

@xai @v0 It really does seem like grok is better at a lot of things. Just so expensive.

Profilbild von Safinaz Elhadary
Safinaz Elhadaryvor 5 Monaten

@xai @v0 For video generation honestly @grok was the best video model after trying SORA (💀) , VEO3, Seedance.. but I do agree it is pricey

Profilbild von Logika Agency
Logika Agencyvor 5 Monaten

really better than VEO ? I must have missed something, tbh I thought VEO is the best still , just like NBP or NB2 are still my fav for img gen. For being truthful and not accondescending, for coding, for idea development, for finding niche info, I think its really better than most other models though. I mean the best information edge now is on twitter or reddit imho. most likely twitter more than reddit given how much they nerfed bots here so i feel like its source of information can be quite a good signal.

Profilbild von Atom the UiUx Designer
Atom the UiUx Designervor 5 Monaten

@xai @v0 Safinaz you’re a genius. Thanks for this

Profilbild von Quadcode AI
Quadcode AIvor 5 Monaten

@xai @v0 lowkey feels like cheating but in a smart way curious how it holds up on heavier pages

Profilbild von Gustav ❖
Gustav ❖vor 5 Monaten

@xai @v0 Holy shit that is so sick. Bookmarking this for inspo ✨

Profilbild von Esteban Suárez
Esteban Suárezvor 5 Monaten

@xai @v0 SO good

Profilbild von Safinaz Elhadary
Safinaz Elhadaryvor 5 Monaten

@xai @v0 Learning from the best!😉

Profilbild von gomes.pt
gomes.ptvor 5 Monaten

@xai @v0 How did you come up with this? Unreal

Profilbild von Quilkes
Quilkesvor 5 Monaten

@xai @v0 Good, but still webgl is the best. It just a bit hard to set up and animate

Profilbild von Yan Liu
Yan Liuvor 5 Monaten

@v0 @xai Awww, thank you so much for sharing! The video generation tip is super helpful 💛💛💛

Profilbild von Vlad
Vladvor 5 Monaten

@xai @v0 Well done, I'm doing the same but locally. 🙂

Profilbild von Safinaz Elhadary
Safinaz Elhadaryvor 5 Monaten

@xai @v0 Would love to see what you’re building!

Profilbild von HardGuy
HardGuyvor 5 Monaten

@xai @v0 This was sooo goood!!!

Profilbild von Pako
Pakovor 5 Monaten

@xai @v0 this is crazy creative!! i wonder how can i use this in calorie tracking space?

Profilbild von Dhiraj Ingle
Dhiraj Inglevor 5 Monaten

@xai @v0 I’m definitely going to try this in my next projects. Thanks for the inspiration!❤️

Profilbild von Swayam Sharma
Swayam Sharmavor 5 Monaten

@xai @v0 @shreyash865

Profilbild von Abhishek Kumar
Abhishek Kumarvor 5 Monaten

@xai @v0 Is it optimised for mobile as well ?

Profilbild von Dervy
Dervyvor 5 Monaten

@xai @v0 V0, the Zionist!? friend of child genocidal killers?

Profilbild von Arthur.eth
Arthur.ethvor 5 Monaten

@xai @v0 核心是FFmpeg把视频转换成帧webp,然后用canvas做无缝跟随,在CSS的容器中,高阶的话就得用GSAP+ScrollTrigger 插件了。

Profilbild von Kapil
Kapilvor 5 Monaten

@xai @v0 Really Amazing, Thanks for sharing this, I was always curious how to build this kind of effect, but you made my day.

Profilbild von nick woodward
nick woodwardvor 5 Monaten

@xai @v0 why not scrub the video with a delay?

Ähnliche Videos

CSS Tip! 🐳 You can add little details like this scale down on scroll effect with scroll-driven animations and some sticky positioning 🤙 section { animation: scale-down; animation-timeline: view(); animation-range: exit; } @​keyframes scale-down { to { scale 0.8; } ] In this smaller example, you can lean into using the position to drive an animation that scales itself down as it leaves the viewport (Seen on the Apple Vision Pro site 🍏) The nice thing here is that if you don't have scroll-driven animations, the user still gets a good experience ✨ So how do you do it? There isn't much to it header { transform-origin: 50% 0%; animation: scale-down both ease-in; animation-timeline: view(); animation-range: exit; view-timeline: --header; } @​keyframes scale-down { to { scale: 0.8 0.8; } } That's it. The layout makes use of position: sticky so that the element stays in the shot whilst you scroll the page. As it leaves the page, it scales down inside the 🫶 The other smol animation here is fading the overlay on the video out 😎 Real easy. You may notice the view-timeline you defined above for the 👀 header { view-timeline: --header; } You have a pseudoelement on the text content of the header that lives inside a header > section::before { background: hsl(0 0% 0% / 0.75); opacity: 1; animation: fade both linear; animation-timeline: --header; animation-range: exit-crossing 0% exit 0%; } @​keyframes fade { to { opacity: 0; } } You use a slightly smaller range on this with exit-crossing to fade it out before you start the scale down animation 🤏 That's it! Thought this smaller example would be easier to grok for people 🙏 It's also covered with JavaScript if you really want it for your sites 🤙 CodePen.IO link below 👇

jhey ʕ•ᴥ•ʔ

146,270 Aufrufe • vor 2 Jahren

CSS Trick! ⚡️ You can use scroll-driven animation with background-attachment to create a dynamic glowing card scroller without JS 🔥 section { animation:vibe; animation-timeline:--list; } @​keyframes vibe { to{--hue:320;}} .glow {background: hsl(var(--hue) 80% 50%);} Here's how! 🤙 You can use the background-attachment trick used in other glow card demos 😎 article { background-attachment: fixed; } The difference here is that you aren't going to update the fixed background position with your pointer this time. It can remain fixed. The magic part is that as you scroll, the background will leave the card that's leaving and enter the card that's entering ✨ For the extra background glow, you can use a fixed pseudo element on the list container itself 💪 Once that's in place, you're only task is to change the color of the background as you scroll 🤔 Create a custom property declaration for the --hue @​property --base { inherits: true; syntax: ' '; initial-value: 0; } Then create an animation that updates this value @​keyframes accent { to { --hue: 320; }} The last piece is hooking it up to scroll and there is a little trick in here 👀 First, you need an inline scroll-timeline on the list ul { scroll-timeline: --list inline; } Then you can use timeline-scope to hoist that scroll-timeline up so a parent can use it. You then animate the custom property on this element and let the value cascade down to the places that need it 🔥 section { timeline-scope: --list; animation: accent both linear; animation-timeline: --list; } For example, the glow uses the --hue this way [data-glow] { background-image: radial-gradient( 150px 150px at 50% 50%, hsl(var(--hue) 100% 70% / 0.25), transparent ); } Lastly, scroll-snap is optional of course but plays nice with the scroll-driven animation demos ✨ The key for that is ul { scroll-snap-type: x mandatory; } li { scroll-snap-align: center; } That's it! Pretty fun trick to play with! 🤓 Any questions, let me know! Should we add it to the video walkthrough list? CodePen.IO link below! 👇

jhey ʕ•ᴥ•ʔ

116,625 Aufrufe • vor 2 Jahren

Fable 5 and GPT-5.6 built the same scroll-animated website from 1 skill in 32 minutes and only 1 of them made it feel like a film. Same prompt: boutique Japan travel brand, origami style. A subway pulls in, a paper house unfolds into a hotel, a bird takes flight as you scroll. Doing this by hand is brutal multiple videos, matched starting frames, frames ripped out 1 by 1 and synced to scroll position. The skill does all of it: Generate 1 anchor image and approve it every scene inherits the style Turn it into video through the Higgs Field MCP (Seedance), straight from the terminal FFmpeg pulls every frame Each frame maps to scroll position, so your scrollbar becomes the playhead Setup is just connecting the MCP and loading the skill works in Claude Code and Codex. It interviews you first about scenes, budget and mobile, then shows the anchor image before burning a single credit on video. Budget reality: 6 scenes runs ~800 credits and is overkill, 4 scenes is the sweet spot, crop-safe mobile is the cheap path. The verdict came down to transitions. GPT-5.6 Soul built strong scenes with incredible detail inside each one then hard cuts between scene 1 and 2, and again between 2 and 3. Fable 5 stitched them together: wires push out of the top of frame while the next scene blurs in behind, gains depth and locks into place. Same skill, same prompts, 10 generations each. Credit to Peter Wang for the original Scroll World skill open source, now forked with budget tiers and mobile fixes. Soul built 4 scenes. Fable built 1 film.

Spike 1%

45,609 Aufrufe • vor 2 Monaten