gleHelicoid(3GLE)

✨ gleHelicoid ✨

okay bestie, welcome to gleHelicoid from the GLE manual (section 3GLE) πŸ’– it's a generalized torus β€” a spiral with a circle contour. literally a slinky but make it geometry πŸŒ€


🌸 SYNTAX 🌸

void gleHelicoid (gleDouble rToroid,
                  gleDouble up[3],
                  gleDouble startRadius,
                  gleDouble drdTheta,
                  gleDouble startZ,
                  gleDouble dzdTheta,
                  gleDouble startXform[2][3],
                  gleDouble dXformdTheta[2][3],
                  gleDouble startTheta,
                  gleDouble sweepTheta);

no cap, that's a lot of args. let's go through them one by one 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • rToroid β€” the radius of the circle contour (the torus radius). it's giving "how big is the tube" πŸ’…
  • startRadius β€” the spiral starts out here in the x-y plane. your origin story, fr fr ✨
  • drdTheta β€” how much the radius changes per revolution. so it can grow or shrink as it spins 🌸
  • startZ β€” the starting z value. where you begin on the vertical axis πŸ¦‹
  • dzdTheta β€” how much Z changes per revolution. the rise, the climb, the glow-up πŸ“ˆ
  • startXform β€” the starting contour affine transformation. your starting fit, your base look πŸ‘‘
  • dXformdTheta β€” the tangent change of the xform per revolution. how that transformation shifts as you go around πŸŒ€
  • startTheta β€” the start angle in the x-y plane. where on the circle you begin, in degrees πŸ“
  • sweepTheta β€” the degrees to spiral around. how far you twirl, bestie 🎠
heads up: up[3] shows up in the synopsis but doesn't get its own little blurb down here. it's still there, living its truth πŸ’œ

πŸ’« DESCRIPTION πŸ’«

so it's a Generalized Torus. basically gleSpiral's cousin, except the contour is a circle instead of whatever gleSpiral uses 🍩

and the way it works? it calls gleSpiral under the hood to actually draw. iconic delegation behavior, honestly 😌


πŸ”₯ SEE ALSO πŸ”₯

  • gleSpiral
  • gleToroid

go read those too, iykyk πŸ’•


πŸ‘‘ AUTHOR πŸ‘‘

Linas Vepstas (linas@linas.org) β€” thank you for the geometry, king 🫢


and that's the whole vibe check, bestie 🌈 this was GLE 3.0, dated 3.0, and you absolutely ate reading the whole thing. slay, periodt πŸ’…βœ¨