Fuzzy Cubes
A grid of cubes rendered with raymarching, each pulsing at its own speed and phase. The grid rotates slowly on all three axes while volumetric glow accumulates along the ray march. In VS2, map audio or MIDI to the parameters to make it reactive.
Parameters
| Parameter | Label | Default | Range | Description |
|---|---|---|---|---|
offsetX |
Offset X | 0.5 | 0–1 | Horizontal position of the grid. |
offsetY |
Offset Y | 0.5 | 0–1 | Vertical position of the grid. |
offsetZ |
Offset Z | 0.5 | 0–1 | Depth position of the grid. |
zoom |
Zoom | 0.5 | 0–1 | Camera distance. |
density |
Density | 0.33 | 0–1 | Number of cubes per axis (1–5). |
intensity |
Intensity | 0.5 | 0–1 | Amount of pulsing animation. |
glow |
Glow | 0.5 | 0–1 | Brightness of the volumetric glow. |
Downloads
- fuzzy-cubes.frag — VS2 version
- fuzzy-cubes.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.