Anonymous user
Draw a sphere: Difference between revisions
→{{header|Brlcad}}
No edit summary |
|||
Line 8:
units cm # Set the unit of measure
in ball.s sph 0 0 0 3 # Create a sphere of radius 3 cm named ball.s with its centre at 0,0,0 </lang>
=={{header|Logo}}==
Drawing a sphere is actually very simple in logo, {{works with||MSWlogo}}, though.
<lang logo>to sphere :r
cs perspective ht ;making the room ready to use
repeat 180 [polystart circle :r polyend down 1]
polyview
end</lang>
=={{header|Mathematica}}==
|