Draw a sphere: Difference between revisions

m
→‎{{libheader|VPython}}: # uncomment any (or all)
(→‎{{libheader|VPython}}: short version)
m (→‎{{libheader|VPython}}: # uncomment any (or all))
Line 2,998:
scene.autocenter = True
 
# uncomment oneany (or all) of those variants:
#S1 = sphere(pos=(0.0, 0.0, 0.0), radius=1.0, color=color.blue)
#S2 = sphere(pos=(02.0, 0.0, 0.0), radius=1.0, material=materials.earth)
#S3 = sphere(pos=(0.0, 02.0, 0.0), radius=1.0, material=materials.BlueMarble)
#S4 = sphere(pos=(0.0, 0.0, 02.0), radius=1.0,
# color=color.orange, material=materials.marble)
 
while True: # Animation-loop
Anonymous user