jamshred.tunnel vocabulary
Factor handbook ยป Vocabulary index


Summary

Metadata
Parents:jamshred
Authors:Alex Chapman


Words

Tuple classes
ClassSuperclassSlots
segment ointnumber color radius


Ordinary words
WordStack effect
(distance-to-collision)( oint segment -- distance )
(random-segments)( segments n -- segments )
<random-tunnel>( -- segments )
<segment>( location forward up left number color radius -- segment )
<straight-tunnel>( -- segments )
bounce-forward( segment oint -- )
bounce-left( segment oint -- )
bounce-off-wall( oint segment -- )
bounce-up( segment oint -- )
clamp-length( n seq -- n' )
collision-coefficient( v w r -- c )
collision-vector( oint segment -- v )
default-segment-radius( -- value )
distance-from-center( seg loc -- distance )
distance-to-next-segment( current next location heading -- distance )
distance-to-next-segment-area( current next location heading -- distance )
distant( -- value )
get-segment( segments n -- segment )
heading-segment( segments current-segment heading -- segment )
initial-segment( -- segment )
max-real( a b -- c )
n-segments( -- value )
next-segment( segments current-segment -- segment )
previous-segment( segments current-segment -- segment )
random-color( -- color )
random-rotation-angle( -- value )
random-segment( previous-segment -- segment )
random-segments( n -- segments )
segment-number++( segment -- )
sideways-heading( oint segment -- v )
sideways-relative-location( oint segment -- loc )
simple-segment( n -- segment )
simple-segments( n -- segments )
sub-tunnel( from to segments -- segments )
tunnel-segment-distance( -- value )
vector-to-center( seg loc -- v )
wall-normal( seg oint -- n )


Class predicate words
WordStack effect
segment?( object -- ? )


Files


Metadata files