Green-----square
Red-------triangle
Blue------ sine
Give it a shake to get it going. It will need a few second to stabilize.
This time I used a different methods method for producing the sine wave. This is an application of the method that @hurz published a few months back.