MCPcopy
hub / github.com/mum4k/termdash / SweepSpeed

Function SweepSpeed

widgets/radar/options.go:162–166  ·  view source on GitHub ↗

SweepSpeed sets the angular velocity of the radar sweep beam. The value is in degrees per second; e.g. 60 = one full rotation every 6 s. Defaults to 60.

(degreesPerSecond float64)

Source from the content-addressed store, hash-verified

160// The value is in degrees per second; e.g. 60 = one full rotation every 6 s.
161// Defaults to 60.
162func SweepSpeed(degreesPerSecond float64) Option {
163 return option(func(o *options) {
164 o.sweepSpeed = degreesPerSecond
165 })
166}
167
168// DefaultBeamWidth is the default angular width of the sweep trail in degrees.
169const DefaultBeamWidth = 35.0

Callers 3

newVisualizeTabFunction · 0.92
newExplorerWidgetsFunction · 0.92
mainFunction · 0.92

Calls 1

optionFuncType · 0.70

Tested by

no test coverage detected