跳到正文
Skillpedia
图片与图标101k · #1062

webgl-pixel-reveal-gallery

它能做什么

创建一个会随着滚动而播放动画的图片画廊。图片进入屏幕时,会从像素或网格中逐渐浮现;页面标题会拆分成一个个字母出现;点击图片后还可以全屏查看。

适用场景

  • ✓制作视觉效果出众的作品集页面。
  • ✓开发用于展示照片或艺术作品的网站。
  • ✓为网站增添现代而动感的效果。

技能链接

https://github.com/nexu-io/open-design/blob/main/plugins/_official/examples/webgl-pixel-reveal-gallery/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/nexu-io/open-design/blob/main/plugins/_official/examples/webgl-pixel-reveal-gallery/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“帮我创建一个图片画廊,滚动时有像素浮现效果,标题有动画,点击图片可以放大。”

每周 5 个新技能,1 分钟读完。

工作原理

它使用两个动画库(Three.js 和 GSAP)来实现视觉效果。当你滚动页面时,图片会加载,并以像素溶解的动画出现。点击某张图片后,它会展开放大。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Pixel Reveal Gallery

Produce a single self-contained index.html — A scroll-reactive masonry gallery (Three.js + GSAP) where each image develops from a pixel/grid dissolve on viewport entry, with a split-text heading and click-to-fullscreen Flip.

Why this is a powered artifact

OpenDesign detects getContext('webgl2') / heavy WebGL and renders this file in powered preview (a cross-origin-isolated iframe). The full GPU + scroll pipeline runs; no opaque-sandbox workarounds are needed.

Resource map

webgl-pixel-reveal-gallery/
├── SKILL.md          ← you're reading this
├── example.html      ← the complete, working artifact (READ FIRST)
└── (assets, if any)

Credits / attribution

  • effect: J0SUKE / Codrops (MIT)
  • imagery: Original (AI-generated)

Keep any bundled LICENSE and on-screen credit intact. Replace imagery only with license-clean assets (original / AI, Lummi.ai, Unsplash/Pexels — never scraped imagery).

常见问题

什么是“瀑布流画廊”(masonry gallery)?

这是一种排版方式,各个元素(这里指图片)会像拼图一样高效地铺满可用空间,不会留下大的空白。

Three.js 和 GSAP 是什么?

它们是一些工具(即库),能帮助开发者在网页上制作复杂的动画和图形,比如这个画廊中的视觉效果就是用它们实现的。

“点击全屏 Flip”是什么意思?

意思是点击图片后,它会以动画的方式(Flip)展开,铺满整个屏幕(全屏)。

详情

作者的原始描述

A scroll-reactive masonry gallery (Three.js + GSAP) where each image develops from a pixel/grid dissolve on viewport entry, with a split-text heading and click-to-fullscreen Flip.

repo: nexu-io/open-design

热度

GitHub 星标
101k
排名
#1062
许可证
Apache-2.0
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能