rocaille-shader

Solid

Generate Rocaille-style domain warping shaders, mouse-reactive liquid logo effects, depth-map parallax heroes (Astryx-style hover-reactive statues), and stable fluid simulations over live DOM. Four modes — rocaille, liquid-logo, astryx-statue, fluid-dom. Triggers on shader art, depth parallax, hover-reactive depth map, statue hero, fluid sim, liquid logo, WebGL visualization, procedural background, pointer-reactive fluid.

Web & Frontend 41 stars 3 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 87/100

Stars 20%
54
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Rocaille Shader Skill Generate organic, swirling light effects through progressive domain warping - a technique that creates increasingly complex patterns by iteratively displacing coordinates using sinusoidal functions. ## Core Technique The Rocaille effect builds complexity through repeated application of: ```glsl v += sin(v.yx + t) / amplitude; ``` Where: - `v` is a 2D coordinate vector - `v.yx` swaps x/y components creating characteristic swirl - `t` is time for animation - `amplitude` controls warp intensity (1.0 = strong, 4.0 = subtle) - Each iteration adds more organic complexity ## Quick Reference | Warps | Effect | Use Case | |-------|--------|----------| | 1-2 | Subtle wave | Backgrounds, subtle motion | | 3-5 | Organic flow | Music visualizers, hero sections | | 6-9 | Complex swirl | Psychedelic effects, main attraction | | 10+ | Chaotic | Experimental, glitch art | ## Usage To generate a shader, specify: 1. **Warp count** (1-15): Number of displacement iterations 2. **Color mode**: `basic`, `rainbow`, `monochrome`, `neon`, or custom RGB 3. **Output format**: `shadertoy`, `threejs`, `webgl`, `p5js` ### Generate Custom Shader Run the generator script: ```bash python3 scripts/rocaille_generator.py --warps 5 --color rainbow --format shadertoy ``` Options: - `--warps N` - Number of warp iterations (default: 5) - `--color MODE` - Color mode: basic, rainbow, monochrome, neon (default: rainbow) - `--format FMT` - Output format: shadertoy, threejs, webgl, p5...

Details

Author
tdimino
Repository
tdimino/claude-code-minoan
Created
7 months ago
Last Updated
yesterday
Language
Python
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category