Skip to content
Skillpedia
Images & icons101k Β· #1054

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

Copy 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

Use this skill to help me: https://github.com/nexu-io/open-design/blob/main/plugins/_official/examples/webgl-distortion-grain/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute β†’

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

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills