Task

Draw a sphere.

The sphere can be represented graphically, or in ASCII art, depending on the language capabilities.

Either static or rotational projection is acceptable for this task.



Related tasks

 draw a cuboid
 draw a rotating cube
 write language name in 3D ASCII
 draw a Deathstar


ancho = 640 : alto = 480
open window 640,480
backcolor 16,16,16
clear window
sphera()
 
sub sphera()
	local n
 
	for n = 1 to 100
		color 2*n, 2*n, 2*n
		fill circle ancho/2-2*n/3, alto/2-n/2, 150-n
	next n
end sub