Handbook
Glossary
random-boids ( count -- boids )
Vocabulary
boids
.
simulation
Inputs
count
an
object
Outputs
boids
an
object
Definition
USING:
arrays
kernel
random
sequences
;
IN:
boids.simulation
:
random-boids
( count -- boids )
[
WIDTH
HEIGHT
[
random
]
bi@
2array
2
[
0 1
normal-random
]
replicate
<boid>
]
replicate
;