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

Function BeamWidth

widgets/radar/options.go:174–178  ·  view source on GitHub ↗

BeamWidth sets the angular width of the visible sweep trail (the phosphor fade). The value is in degrees. Larger values create a wider, more gradual fade. Defaults to 35.

(degrees float64)

Source from the content-addressed store, hash-verified

172// The value is in degrees. Larger values create a wider, more gradual fade.
173// Defaults to 35.
174func BeamWidth(degrees float64) Option {
175 return option(func(o *options) {
176 o.beamWidth = degrees
177 })
178}
179
180// DefaultSweepSpan is the default total sweep arc in degrees (full rotation).
181const DefaultSweepSpan = 360.0

Callers 3

newVisualizeTabFunction · 0.92
newExplorerWidgetsFunction · 0.92
mainFunction · 0.92

Calls 1

optionFuncType · 0.70

Tested by

no test coverage detected