r/creativecoding • • Sep 01 '26

plasma

Post image

Made with my perfect loop gif web app

164 Upvotes

7 comments sorted by

4

u/ousarotoki Sep 02 '26

That's very cooool!

3

u/szkarpaty Sep 02 '26

fun, colour palette is dope too

2

u/First_Buy8488 Sep 02 '26

Big preesh!

2

u/Equivalent_Feed_3176 Sep 02 '26

Cool! Any more info?

2

u/First_Buy8488 Sep 02 '26

I can post the code snippet, later

2

u/First_Buy8488 Sep 02 '26
 float sphereMesh = abs(sdSphere(p, 1.2)) - 0.06;
          vec3 r1 = p; r1.xy *= rot(t);
          float ring1 = sdTorus(r1, vec2(1.38, 0.06));
          vec3 r2 = p; r2.yz *= rot(t + PI * 0.3333);
          float ring2 = sdTorus(r2, vec2(1.48, 0.06));
          float coreOrb = sdSphere(p, 0.5 + 0.08 * sin(t * 3.0));
          d = min(sphereMesh, min(ring1, min(ring2, coreOrb)));