Draw a sphere: Difference between revisions

Content deleted Content added
Grondilu (talk | contribs)
→‎{{header|Perl 6}}: mark as broken
→‎{{header|Python}}: ==={{libheader|Pygame}}===
Line 2,093: Line 2,093:


=={{header|Python}}==
=={{header|Python}}==
===Ascii-Art===
{{trans|C}}
{{trans|C}}
<lang python>import math
<lang python>import math
Line 2,190: Line 2,191:
</pre>
</pre>


===Python: Using Pygame===
==={{libheader|Pygame}}===
Renders a sphere with random Perlin noise.
Renders a sphere with random Perlin noise.
This code contains unnecessary functions which are part of a 3D graphics library I wrote.
This code contains unnecessary functions which are part of a 3D graphics library I wrote.
Line 2,974: Line 2,975:
pass
pass
</lang>
</lang>

==={{libheader|VPython}}===
...


=={{header|Racket}}==
=={{header|Racket}}==