webgl-distortion-grain
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.
Skill link
https://github.com/nexu-io/open-design/blob/main/plugins/_official/examples/webgl-distortion-grain/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βCreate an image gallery with a ripple and film grain effect.β
5 new skills a week. 1 minute to read.
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.
Technical 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
- #1054
- License
- Apache-2.0
- Updated
- 10/15/2026
Comments
- β¦
More skills from this repository
sample-plugin
101kMakes your agent create a metadata file for tests. It helps ensure code works correctly in different situations.
aster-atelier
101kHelps your agent create an artistic website with a classic look. It uses elegant imagery, blue skies, and serif fonts for a cinematic feel.
audio-jingle
101kMakes your agent generate audio like jingles and sound effects. It can create music and voices, saving the result as an audio file.
blog-post
101kHelps your agent write long articles or blog posts. It includes space for images, quotes, and author information.
Similar skills
gifgrep
394kLets your agent search GIF libraries, preview results, download a GIF, and pull out a still frame or a contact sheet of frames.
meme-maker
394kLets your agent pick a meme template, add your own captions, and create the meme as an SVG or PNG image.
ios-icon-gen
280kLets your agent generate icons for iOS apps. It uses Apple symbols or icons from other sources to create the correct files.