Draw a sphere: Difference between revisions

m
→‎{{libheader|VPython}}: link to docs about default-values
m (→‎{{libheader|VPython}}: link to docs about default-values)
Line 2,982:
 
==={{libheader|VPython}}===
 
{{works with|Python|2.7.5}}
'''Short version''':
<lang python>from visual import *
scene.title = "VPython: Draw a sphere"
sphere() # using default-values</lang>
sphere() # using defaults, see http://www.vpython.org/contents/docs/defaults.html defaults] </lang>
 
'''Regular version''', with some window-dressing:
<lang python>
Anonymous user