### yinyang folding into itself

Posted:

**Tue Mar 17, 2009 12:29 pm**Hi everyone!

I'm trying to make a wave whichs "tips over" into itself and continues endlessly. Of course my math sucks so I'm just playing around

edit: it seems I cant attach the picture ? I have to put it online somewhere myself ?

I'm trying to make a wave whichs "tips over" into itself and continues endlessly. Of course my math sucks so I'm just playing around

Code: Select all

```
startshape circle_path
path round {
MOVETO{y 1} // required
ARCTO{y -1 r 1}
ARCTO{y 1 r 1}
STROKE{ width 0.01 }
}
path halfround {
MOVETO { y 1 }
ARCTO{y -1 r 1}
STROKE{ width 0.01 }
}
rule sinus {
halfround { x 1 y 0}
halfround { x 1 y -2 r 180 }
}
rule body_wave {
round { x 0.5 y 0.5 }
sinus { s 0.5 flip 180 }
}
rule circle_path {
body_wave { }
body_wave { s 0.5 flip 90 x 0.75 y -0.25 }
body_wave { s 0.25 x 0.37 y -0.37 }
}
```