Handbook
Glossary
random-segment ( previous-segment -- segment )
Vocabulary
jamshred
.
tunnel
Inputs
previous-segment
an
object
Outputs
segment
an
object
Definition
USING:
accessors
jamshred.oint
kernel
;
IN:
jamshred.tunnel
:
random-segment
( previous-segment -- segment )
clone
dup
random-rotation-angle
random-turn
tunnel-segment-distance
over
go-forward
random-color
>>color
dup
segment-number++
;