Anonymous user
Draw a sphere: Difference between revisions
→{{libheader|VPython}}: short version
(→{{libheader|VPython}}: variants / materials) |
(→{{libheader|VPython}}: short version) |
||
Line 2,981:
{{works with|Python|2.7.5}}
'''Short version''':
<lang python>from visual import *
sphere() # using default-values</lang>
'''Regular version''', with some window-dressing:
<lang python>
from __future__ import print_function, division
|