Draw a sphere: Difference between revisions

Content deleted Content added
m →‎{{header|REXX}}: added a comment that shows an alternative syntax.
Petelomax (talk | contribs)
Line 2,693: Line 2,693:


=={{header|Phix}}==
=={{header|Phix}}==
{{libheader|pGUI}}
{{trans|Go}} (Go gets credit for the dot/normalize/drawSphere routines, but this draws on screen rather than to png file)
{{trans|Go}} (Go gets credit for the dot/normalize/drawSphere routines, but this draws on screen rather than to png file)
Sphere will resize to match the window.
Sphere will resize to match the window.
Line 2,755: Line 2,756:


procedure main()
procedure main()
IupOpen("..\\pGUI\\")
IupOpen()


canvas = IupCanvas(NULL)
canvas = IupCanvas(NULL)