Hiding Squares
A grid of squares animated with noise-driven rotation, translation, and scale transformations. Each square’s movement intensity is controlled by a noise field seeded from the grid position, creating an organic hiding/revealing effect.
Parameters
| Parameter | Label | Default | Range | Description |
|---|---|---|---|---|
rotIntensity |
Rotation Intensity | 0.0 | 0–90 | Per-square rotation angle in degrees. |
transIntensity |
Translation Intensity | 18.0 | 0–100 | Per-square translation displacement. |
scaleIntensity |
Scale Intensity | 0.0 | 0–1.4 | Per-square scale variation. |
cols |
Columns | 17.0 | 4–40 | Number of grid columns. |
noiseScale |
Noise Scale | 4.132 | 1–10 | Scale of the noise field controlling movement. |
seed |
Seed | 3100 | 0–5000 | Random seed for noise offset. |
Downloads
- hiding-squares.frag — VS2 version
- hiding-squares.fs — ISF version
License
The shader source code is licensed under Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0). You can share and adapt the code for non-commercial purposes, as long as you credit the author and distribute contributions under the same license. Commercial redistribution of the source code requires permission.
Using the Output
The visual output produced by running these shaders is yours to use. VJ at a party, use it in a music video, project it at a festival — go for it. If you're making money from it, consider supporting my music at Mirlo, Subvert or Bandcamp.