3d turtle graphics: Difference between revisions

m
Automated syntax highlighting fixup (second round - minor fixes)
m (syntax highlighting fixup automation)
m (Automated syntax highlighting fixup (second round - minor fixes))
Line 8:
 
Assumes jqt and a "recent" (2022) version of J.
<syntaxhighlight lang=J"j">NB. pre-requisites:
NB. ;install each cut 'gl2 gles github:zerowords/tgsjo'
load'zerowords/tgsjo'
Line 88:
Reuses [[Simple_turtle_graphics#Phix|turtle.e]], however the code I really wanted to squirrel away has ended up in [[3d_turtle_graphics/Phix|turtle_projection.e]].
You can run this online [http://phix.x10.mx/p2js/3Dturtle.htm here].
<!--<syntaxhighlight lang=Phix"phix">(phixonline)-->
<span style="color: #000080;font-style:italic;">--
-- demo\rosetta\3D_turtle_graphics.exw
Line 306:
{{libheader|DOME}}
{{libheader|Wren-turtle}}
<syntaxhighlight lang="ecmascript">import "dome" for Window
import "graphics" for Canvas, Color
import "math" for Math
10,333

edits