Sin or cos

hello,

i am looking for a tutorial or something of the sort on using sin and cos to draw images that follow the pattern that sin or cos would create.

thanks for any feedback:te: