repeat x 0 100 { repeat y 0 100 { set [x y] ((x-50)*(x-50)/8+(y-50)*(y-50)/16) } } //nested loop that covers all 100^2 pixels //and generates a shaded ellipse