⚠️ All text content on this blog is licensed under CC BY-SA 4.0. All code is licensed under CC0.⚠️
All code assumes shadertoy environment:
// O - output color
// C - pixel coordinate
// iResolution - vec3 uniform containing the resolution, .z is 1 when generating 2D fragments.
void mainImage(out vec4 O, vec2 C) {