Skip to content
项目

codrops/ScrollBasedLayoutAnimations

在 GitHub 查看

关于

探索使用 GSAP 的 ScrollTrigger 和 Flip 实现基于滚动的布局切换动画。

其他项目

这些数字如何统计

实测星标增长

24小时
+1
7天
+1
15天
+2
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

On-Scroll Image Layout Animations

An exploration of different scroll based layout switch animations.

On-Scroll Image Layout Animations

Article on Codrops

Demo

Installation

Run this demo on a local server.

Credits

  • Images generated with Midjourney, except one photo by Karsten Winegeart on Unsplash
  • New images in Layouts 02 (the carousel, the pyramid, and galleries 4, 5, 6, 8 and 9) generated with Nano Banana in Paper
  • The sun's images in Layouts 02 are page 1's, recoloured here in faded tones
  • The sunflower's images in Layouts 02 come from Staggered (3D) Grid Animations (generated with Midjourney, MIT), recoloured here as a two-ink duotone
  • Layout animations with GSAP Flip and ScrollTrigger
  • Smooth scrolling with Lenis
  • Font: Tenon (Adobe Fonts)
  • Inspired by this demo by Framer University, based on VRTL WORLD

Misc

Follow Codrops: X, Facebook, GitHub, Instagram

License

MIT

Made with :blue_heart: by Codrops

探索相关项目

加载中…