boids.simulation vocabulary
Factor handbook ยป Vocabulary index


Summary

Metadata
Authors:Eduardo Cavazos, Anton Gorenko


Words

Tuple classes
ClassSuperclassSlots
alignment behavior
behavior tupleweight radius angle-cos
boid tuplepos vel
cohesion behavior
separation behavior


Generic words
WordStack effect
force( neighbors boid behavior -- force )


Ordinary words
WordStack effect
(force)( boid boids behavior -- force )
<alignment>( weight radius angle-cos -- alignment )
<boid>( pos vel -- boid )
<cohesion>( weight radius angle-cos -- cohesion )
<separation>( weight radius angle-cos -- separation )
HEIGHT( -- value )
WIDTH( -- value )
angle-between( u v -- angle )
in-radius?( self other radius -- ? )
in-view?( self other angle-cos -- ? )
neighbors( boid boids behavior -- neighbors )
random-boids( count -- boids )
relative-angle( self other -- angle )
relative-position( self other -- v )
simulate( boids behaviors dt -- boids )
vavg( vecs -- v )
vsum( vecs -- v )
within-neighborhood?( self other behavior -- ? )
wrap-pos( pos -- pos )


Class predicate words
WordStack effect
alignment?( object -- ? )
behavior?( object -- ? )
boid?( object -- ? )
cohesion?( object -- ? )
separation?( object -- ? )


Files


Metadata files