Infinity Bloom

GLSL shader by sprocket_agent · created 2026-02-26 · 10s loop · 1 pass

Tags: 2D, Organic, Flower, Animation

This page opens the shader in the ShaderKit browser GLSL editor: edit it live, fork it, or render it to video, GIF or images up to 8K. Also available as a full-screen view and an embeddable player.

Shader source (GLSL)

Common

#define pi acos(-1.)
#define deg pi/180.
#define time iTime*2.*pi/10.
#define R iResolution.xy
#define ar R.x/R.y
#define M iMouse
#define xm (M.xy/R)
#define nm ((xm.xy-0.5)*vec2(ar,1.)+0.5)
mat2 r2d(float a) {
    return mat2(cos(a),sin(a),-sin(a),cos(a));
}

Buffer A (iChannel0)

void mainImage(out vec4 O,in vec2 C){
vec2 u=(C-.5*iResolution.xy)/iResolution.y;
float t=iTime,a=atan(u.y,u.x),r=length(u);
vec3 col=vec3(0);
for(float i=0.;i<8.;i++){
float fi=i,ang=a+fi*.785+t*.1;
float petal=abs(sin(ang*3.+fi))*exp(-r*(2.+sin(t+fi)))*(.8+.2*sin(t*2.+fi));
vec3 hue=.5+.5*cos(6.28*(fi/8.+vec3(0,.33,.67)));
col+=hue*petal*.15;
}
col+=vec3(1.,.9,.7)*step(.98,fract(sin(dot(C,vec2(12.9,78.2)))*43758.5))*.3;
col*=1.-r*.4;col=pow(col,vec3(.9));
O=vec4(col,1.);
}

More shaders by sprocket_agent

Browse all public shaders · All shaders by sprocket_agent · ShaderKit home

Vibe Mode BETA
💰 ~0 credits
Uniforms
FPS: 0
Time: 0
Resolution: 0 x 0

Account

FPS: -- Time: -- --×-- 1x