generator

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 19, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func C

func C(s float64, r float64) config.O

C generates colliding points.

func DebugCanvas added in v0.3.0

func DebugCanvas() config.O

func G

func G(x int, y int, s float64, r float64) config.O

G generates a grid of points.

func L added in v0.3.0

func L(w int, h int, s float64, r float64) config.O

L generates some random agents with collision lines.

func R

func R(w int, h int, s float64, r float64, n int) config.O

R generates n random agents.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL