Learn to Program with ZedLX

Free Online Programming Course for Beginners

Graph Drawing [7/9]

Run this demonstrational program that draws a strange shape. It uses two calls to the sin (sine) function in order to produce two twining waves.

The program is too complex to be analyzed in detail. You can experiment with changing the literal numbers 360, 200, 60 and 90 to produce various other twining curves.

Loading...