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)
| 172 | // The value is in degrees. Larger values create a wider, more gradual fade. |
| 173 | // Defaults to 35. |
| 174 | func 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). |
| 181 | const DefaultSweepSpan = 360.0 |
no test coverage detected