Hello everyone! I bought the software yesterday and have since been on a deep dive into livecoding, this is so amazing! Here’s what i’ve come up with so far. I dont really know much about coding, but I do know something about math:
//this makes a mobius loop
//or any kind of twisted torus
SLIDER(radius, 0.1..2);
SLIDER(width, 0.1..1);
SLIDER(twist, 1..32); //twist and twirl are the best
SLIDER(twirl, 1..32); //names I could come up
vec3 gen(float t){
vec3 v;
float alpha = (int)twist * 2 * PI;
float beta = (int)twirl * 2 * PI;
v.x = (radius + width * cos(t * beta)) * cos(t * alpha);
v.y = (radius + width * cos(t * beta)) * sin(t * alpha);
v.z = width * sin(t * beta);
return v;
}