90 vec2 ar = vec2(aspect, 1.0);
91 vec2 p = (uv - c) * ar;
92 vec2 d = normalize(vec2(cos(t*0.27), sin(t*0.31)));
94 float band = 0.5 + 0.5*sin(s*6.28318530718*0.35 + t*0.9);
95 float h = fract(s*0.22 + t*0.07 + 0.15*sin(t*0.33));
96 float S = 0.75 + 0.25*sin(t*0.21 + s*2.0);
97 float V = 0.75 + 0.25*band;
99 float edge = smoothstep(0.2, 0.8, band);
100 return mix(base*0.6, base, edge);
182 vec2 ar = vec2(aspect, 1.0);
185 vec4 originalTexture = texture(samp, tc);
188 float zoomSpeed = 0.28;
190 float scale = exp(-t * zoomSpeed);
191 vec2 p = (uv - m) * ar;
194 vec2 cJ = (
iMouse.z > 0.5)
196 : vec2(0.285 + 0.15*sin(t*0.17), 0.01 + 0.15*cos(t*0.21));
198 float probeRad = 0.75 * scale;
199 vec2 anchor =
findAnchor(vec2(0.0), cJ, probeRad);
200 vec2 z0 = (p + anchor) * scale * 2.0;
202 float iterCount, smoothIter, orbitTrapVal;
203 juliaEval(z0, cJ, iterCount, smoothIter, orbitTrapVal);
205 float rD = length(p);
206 float hue = fract(0.12*smoothIter + 0.07*t + 0.15*sin(orbitTrapVal*3.0));
207 float sat = 0.65 + 0.25*sin(0.7*t + orbitTrapVal*5.0);
208 float val = 0.80 + 0.20*sin(0.9*t + smoothIter*0.35);
211 float ring = smoothstep(0.0, 0.7, sin(log(rD*scale+1e-3)*9.5 + t*1.2));
212 float pulse = 0.5 + 0.5*sin(t*2.0 + rD*28.0 + smoothIter*0.6);
214 float vign = 1.0 - smoothstep(0.75, 1.2, length((tc - m)*ar));
215 vign = mix(0.85, 1.2, vign);
218 vec2 dir = normalize(pr + 1e-6);
219 vec2 off = dir * (0.0015 + 0.001 * sin(t*1.3)) * vec2(1.0, 1.0/aspect);
221 vec2 u0 = fract(pr/ar + m);
222 vec2 u1 = fract((pr*1.045)/ar + m);
223 vec2 u2 = fract((pr*0.955)/ar + m);
225 float rC = texture(samp, u0 + off).r;
226 float gC = texture(samp, u1).g;
227 float bC = texture(samp, u2 - off).b;
228 vec3 texRGB = vec3(rC, gC, bC);
230 float shade = smoothstep(0.0, 1.0, 1.0 - clamp(orbitTrapVal*0.5, 0.0, 1.0));
231 vec3 fractRGB = mix(texRGB, texRGB*tint, 0.65) * mix(0.7, 1.25,
shade);
234 float blendFactor = 0.58;
235 vec4 merged = mix(
fractalColor, originalTexture, blendFactor);
236 merged.rgb *= (0.75 + 0.25*ring) * (0.85 + 0.15*pulse) * vign;
238 vec3
bloom = merged.rgb * merged.rgb * 0.18 + pow(max(merged.rgb-0.6,0.0), vec3(2.0))*0.12;
239 vec3 outCol = merged.rgb +
bloom;
241 float wob = 0.9 + 0.1*sin(t + rD*14.0 + smoothIter*0.5);
245 float gradAmt = 0.35 + 0.25*sin(t*0.5 + rD*7.0 + smoothIter*0.35);
246 vec3
screenBlend = 1.0 - (1.0 - outCol) * (1.0 - grad);
249 vec4 tcol = texture(samp, tc);
250 outCol = mix(outCol, outCol*tcol.rgb, 0.8);
252 outCol = sin(outCol * (0.5 + 0.5*
pingPong(t, 12.0)));
253 outCol = clamp(outCol, vec3(0.08), vec3(0.96));
257 float _ab = clamp(
amp_peak, 0.0, 1.0);
258 float _abass = clamp(
amp_low, 0.0, 1.0);
259 outCol *= 1.0 + _ab * 0.6;
260 outCol = mix(outCol, outCol * vec3(1.0 + _abass * 0.3, 1.0 - _abass * 0.15, 1.0 + clamp(
amp_high, 0.0, 1.0) * 0.25), _ab);
263 color = vec4(outCol, 1.0);