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

webgl-halftone-drift

它能做什么

这段代码能在你的电脑屏幕上做出一种艺术视觉效果。它模拟一片圆点,随着你移动鼠标而流动和变形,带有一种老式印刷的质感。

适用场景

  • ✓给你的网站装点一种独特的风格。
  • ✓做一个有趣的背景动画。
  • ✓尝试一种数字艺术效果。

技能链接

https://github.com/nexu-io/open-design/blob/main/plugins/_official/examples/webgl-halftone-drift/SKILL.md

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

使用方法

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

可直接粘贴的消息

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

可以这样问 AI

“创建一个带圆点效果的动态背景,让它能随鼠标变化。”

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

工作原理

它使用一种先进的图形技术(WebGL2),直接在浏览器中运行。当你移动鼠标时,代码会调整圆点的运动和形状,从而形成动画。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Halftone Drift

Produce a single self-contained index.html — A self-contained WebGL2 hero: a flowing field screened through a rotated halftone dot grid into a duotone print aesthetic; move the cursor to bend the drift.

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-halftone-drift/
├── SKILL.md          ← you're reading this
├── example.html      ← the complete, working artifact (READ FIRST)
└── (assets, if any)

Credits / attribution

  • Original, self-contained (no third-party assets).

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).

常见问题

使用前需要安装什么吗?

不需要,这段代码是独立的,直接在浏览器中就能运行。

什么是“半色调圆点网格”?

这是一种印刷技术,用圆点组成图像,就像老式报纸里的图片。这里是用数字方式实现的。

“双色调印刷美学”是什么意思?

意思是最终效果看起来像只用两种颜色印刷的作品,因此带有一种特定的平面图形风格。

详情

作者的原始描述

A self-contained WebGL2 hero: a flowing field screened through a rotated halftone dot grid into a duotone print aesthetic; move the cursor to bend the drift.

repo: nexu-io/open-design

热度

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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能