clusters

package
v0.0.0-...-0456d50 Latest Latest
Warning

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

Go to latest
Published: May 17, 2023 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateHtmlMap

func CreateHtmlMap(name string) (func(*config) error, error)

func Generate

func Generate(options ...Option) (*cluster.Cluster, []systems.System, []systems.Star, error)

Generate creates a new cluster.

func SetKind

func SetKind(kind string) (func(*config) error, error)

func SetRadius

func SetRadius(r float64) (func(*config) error, error)

func SetSystems

func SetSystems(n int) (func(*config) error, error)

Types

type Option

type Option func(c *config) error

Jump to

Keyboard shortcuts

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