webgl-distortion-grain
Lets your agent create galleries where images distort and ripple with movement. It's useful for adding a dynamic and artistic effect to visual presentations.
What it does
This code creates a vertical image gallery that moves and ripples as you scroll or move your mouse. It also adds a film grain effect, similar to old cameras.
When to use it
- ✓To create a website with a modern and interactive look.
- ✓To display an image portfolio dynamically.
- ✓To add a special effect to a web page.
Example of what to ask your AI
“Create an image gallery with a ripple and film grain effect.”
Want more? Open the sections below.
How to use
The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.
Skill link
Ready-to-paste message
How it works
It uses a technology called WebGL to draw images on the screen, making them bend smoothly based on your scrolling. Special code (simplex noise) creates the ripples when the mouse hovers over them.
Installation
Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.
In the terminal (Claude Code, Codex, Cursor), in your project folder:
npx skills add nexu-io/open-design --skill webgl-distortion-grainOr download just the file:
curl -L https://raw.githubusercontent.com/nexu-io/open-design/main/plugins/_official/examples/webgl-distortion-grain/SKILL.md -o SKILL.mdTechnical content (original SKILL.md)
Original text by the author, straight from GitHub.
Distortion & Grain
Produce a single self-contained index.html — A vertical gallery (Three.js) where planes bend with scroll velocity, ripple under the cursor via simplex noise, and carry a film grain.
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-distortion-grain/
├── SKILL.md ← you're reading this
├── example.html ← the complete, working artifact (READ FIRST)
└── (assets, if any)
Credits / attribution
- effect: Jan Kohlbach / Codrops (MIT)
- imagery: Original (AI-generated)
- simplex noise: Ashima Arts (MIT)
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).
FAQ
What is WebGL?
It's a technology that allows websites to display 3D graphics and complex visual effects directly in the browser, using your computer's graphics card.
What is 'simplex noise'?
It's a mathematical algorithm that generates smooth, organic noise patterns, used here to create the ripple effect on the image.
Can I use my own images?
Yes, as long as they are copyright-free images or you have permission to use them.
Details
Original description by the author
A vertical gallery (Three.js) where planes bend with scroll velocity, ripple under the cursor via simplex noise, and carry a film grain.
repo: nexu-io/open-design
Popularity
- GitHub stars
- 101k
- Ranking position
- #594
- License
- Apache-2.0
- Updated
- 10/16/2026
Comments
- …
More skills from this repository
sample-plugin
Makes your agent create a metadata file for tests. It helps ensure code works correctly in different situations.
nexu-io/open-design
aster-atelier
Helps your agent create an artistic website with a classic look. It uses elegant imagery, blue skies, and serif fonts for a cinematic feel.
nexu-io/open-design
audio-jingle
Makes your agent generate audio like jingles and sound effects. It can create music and voices, saving the result as an audio file.
nexu-io/open-design
blog-post
Helps your agent write long articles or blog posts. It includes space for images, quotes, and author information.
nexu-io/open-design
Similar skills
ios-icon-gen
Lets your agent generate icons for iOS apps. It uses Apple symbols or icons from other sources to create the correct files.
affaan-m/ECC
algorithmic-art
Helps your agent create art using code, generating unique images. It's useful when you want original computer-generated art.
anthropics/skills
canvas-design
Helps your agent create beautiful visual art in files. It's useful when you ask for a poster, art, or any static design.
anthropics/skills