Handbook
Glossary
step-turtle ( TURTLE LENGTH -- turtle )
Vocabulary
L-system
Inputs
TURTLE
an
object
LENGTH
an
object
Outputs
turtle
an
object
Definition
USING:
accessors
math.matrices
math.vectors
;
IN:
L-system
::
step-turtle
( TURTLE LENGTH -- turtle )
TURTLE TURTLE
pos>>
TURTLE
ori>>
{
0 0 LENGTH
}
mdotv
v+
>>pos
;