Spring around torus
Script
a = 12
b = 1
c = 9
t = Slider(0, 2 pi, 0.01, 1, 160, false, true, false, false)
f(x) = x + c * sin(x / a + t) - t * c
fx(x) = (7+2 cos(f(x))) cos(x / a / b)
fy(x) = (7+2 cos(f(x))) sin(x / a / b)
fz(x) = 2 sin(f(x))
Cord = Curve(fx(k), fy(k), fz(k), k, 0, 2 pi * a *b)
r2 = 0.7
Tor = Surface((7 + r2 cos(v)) cos(u), (7 + r2 cos(v)) sin(u), r2 sin(v), u, 0, 2pi, v, 0, 2pi)