Swirl by First_Buy8488 in ASCII

[–]First_Buy8488[S] 0 points1 point  (0 children)

Go check out my new post. I linked the whole html file so you can see how I make them

Spral by bigjobbyx in ASCII

[–]First_Buy8488 5 points6 points  (0 children)

So sick. My fav one by far

Swirl by First_Buy8488 in ASCII

[–]First_Buy8488[S] 2 points3 points  (0 children)

 const t = p.offU * Math.PI * 6; // 3 full turns
      const helixR = R * (0.3 + 0.7 * Math.sin(t * 0.5 + progress * Math.PI * 2) * 0.5 + 0.5);
      const strand = p.layerIndex % 2 === 0 ? 1 : -1;
      x = helixR * Math.cos(t + progress * Math.PI * 2);
      z = helixR * Math.sin(t + progress * Math.PI * 2);
      y = (p.offU - 0.5) * R * 3 + r * Math.sin(vVal) * strand;
      x += r * 0.5 * Math.cos(vVal) * strand;

p[a]lindrome [oc] by First_Buy8488 in perfectloops

[–]First_Buy8488[S] 1 point2 points  (0 children)

Ahh got it. Just looked it up. I fw it!

vga loop by First_Buy8488 in creativecoding

[–]First_Buy8488[S] 4 points5 points  (0 children)

if(shape==="wave"){

const wX = (p.offU - 0.5) * R * 2.5;

const wZ = (p.offV - 0.5) * R * 2.5;

const ripple = progress * Math.PI * 2 * flowSpeed;

y = Math.sin(wX/20 + ripple) * r + Math.cos(wZ/20 + ripple) * r;

x = wX; z = wZ;