Documentation
¶
Index ¶
- Variables
- func Clamp(a float64, b float64, c float64) float64
- func Deg2Rad(f float64) float64
- func Distance(p Point, q Point) float64
- func Gcd(a int, b int) int
- func Lerp(a float64, b float64, i float64) float64
- func Linspace(i float64, j float64, n int, b bool) []float64
- func Map(a float64, b float64, c float64, d float64, i float64) float64
- func Rad2Deg(f float64) float64
- func Shuffle(p *[]Point)
- func SquaredDistance(p Point, q Point) float64
- type Curve
- type Line
- type Lissajous
- type Point
- type Rect
- type Slider
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func SquaredDistance ¶
Types ¶
type Point ¶
func PaduaPoints ¶
type Rect ¶
func (*Rect) ContainsPoint ¶
type Slider ¶
type Slider struct {
Name string
Pos Point
Width float64
Height float64
MinVal float64
MaxVal float64
Val float64
Incr float64
}
func NewRadiansSlider ¶
func (*Slider) AutoHeight ¶
func (*Slider) CheckAndUpdate ¶
func (*Slider) GetPercentage ¶
Click to show internal directories.
Click to hide internal directories.