Draw a sphere: Difference between revisions

Content added Content deleted
Line 134: Line 134:
The simplest way to draw a sphere is to run the sphere demo code from J's simple demos. (This assumes J version 6.)
The simplest way to draw a sphere is to run the sphere demo code from J's simple demos. (This assumes J version 6.)


Normally you would bring up this demo by using the menu system: Studio > Demos... > opengl simple... [ok] > sphere [Run]
Normally you would bring up this demo by using the menu system:

Studio
> Demos...
> opengl simple... [ok]
> sphere [Run]

<div style="border: 1px solid #000000; overflow: auto; width: 100%"></div>
<div style="border: 1px solid #000000; overflow: auto; width: 100%"></div>
<lang j>load 'system/examples/graphics/opengl/simple/sphere.ijs'</lang>
<lang j>load 'system/examples/graphics/opengl/simple/sphere.ijs'</lang>