Hey fellow Unity users!

I wondering if anyone has an idea of how to achieve the effect in this video:

link text

He says that he uses Fibonacci Spheres and Pythagoras Trees but how to achieve that green looping effect and have it move like that? Any source code or advice would be as always, fantastic! Thanks

three parameters: P and Q and T.

```
let P go from -1 to 1 from one end of the sphere to the other.
let Q be the number of twists you want in the curve.
let T be time.
then your parametric curve is:
x = radius * P
y = radius * cos(P * (Q * 3.14159 * 2) + T) * sqrt(1 - (abs(P)^2))
z = radius * sin(P * (Q * 3.14159 * 2) + T) * sqrt(1 - (abs(P)^2))
```

Amazing, can’t thank you enough for this, really clear code and works great - Awesome stuff!

I’m almost there, however in the video it seems that its a complete loop with no endpoints at either end. I’ve kind of replicated this by creating a duplicate curve and flipping it along the X-axis (see images). Can this complete curve be created through script? Thanks