SYMBOL INDEX (200 symbols across 24 files) FILE: basis.go type basisGradient (line 9) | type basisGradient struct method At (line 19) | func (lg basisGradient) At(t float64) Color { function newBasisGradient (line 89) | func newBasisGradient(colors []Color, positions []float64, mode BlendMod... function basis (line 107) | func basis(t1, v0, v1, v2, v3 float64) float64 { FILE: basis_test.go function Test_BasisGradient (line 8) | func Test_BasisGradient(t *testing.T) { FILE: bench_test.go function BenchmarkLinearGradient (line 26) | func BenchmarkLinearGradient(b *testing.B) { function BenchmarkCatmullRomGradient (line 49) | func BenchmarkCatmullRomGradient(b *testing.B) { function BenchmarkBasisGradient (line 72) | func BenchmarkBasisGradient(b *testing.B) { FILE: builder.go type GradientBuilder (line 9) | type GradientBuilder struct method Colors (line 28) | func (gb *GradientBuilder) Colors(colors ...Color) *GradientBuilder { method HtmlColors (line 36) | func (gb *GradientBuilder) HtmlColors(htmlColors ...string) *GradientB... method Css (line 49) | func (gb *GradientBuilder) Css(s string) *GradientBuilder { method Domain (line 65) | func (gb *GradientBuilder) Domain(positions ...float64) *GradientBuild... method Mode (line 71) | func (gb *GradientBuilder) Mode(mode BlendMode) *GradientBuilder { method Interpolation (line 76) | func (gb *GradientBuilder) Interpolation(mode Interpolation) *Gradient... method Reset (line 81) | func (gb *GradientBuilder) Reset() *GradientBuilder { method prepareBuild (line 92) | func (gb *GradientBuilder) prepareBuild() error { method Build (line 171) | func (gb *GradientBuilder) Build() (Gradient, error) { method GetColors (line 196) | func (gb *GradientBuilder) GetColors() *[]Color { method GetPositions (line 201) | func (gb *GradientBuilder) GetPositions() *[]float64 { function NewGradient (line 19) | func NewGradient() *GradientBuilder { FILE: builder_test.go function domain (line 8) | func domain(min, max float64) [2]float64 { function Test_Builder (line 12) | func Test_Builder(t *testing.T) { function Test_CssGradient (line 164) | func Test_CssGradient(t *testing.T) { FILE: catmull_rom.go function toCatmullRomSegments (line 9) | func toCatmullRomSegments(values []float64) [][4]float64 { type catmullRomGradient (line 49) | type catmullRomGradient struct method At (line 113) | func (g catmullRomGradient) At(t float64) Color { function newCatmullRomGradient (line 59) | func newCatmullRomGradient(colors []Color, positions []float64, space Bl... FILE: catmull_rom_test.go function Test_CatmullRomGradient (line 8) | func Test_CatmullRomGradient(t *testing.T) { FILE: css_gradient.go function parseCss (line 10) | func parseCss(s string) ([]cssGradientStop, bool) { function ptr (line 81) | func ptr(f float64) *float64 { function ptrColor (line 85) | func ptrColor(c Color) *Color { type cssGradientStop (line 89) | type cssGradientStop struct function prosesStop (line 94) | func prosesStop(stops *[]cssGradientStop, arr []string) bool { function splitByComma (line 145) | func splitByComma(s string) []string { function splitBySpace (line 163) | func splitBySpace(s string) []string { function parsePos (line 186) | func parsePos(s string) (float64, bool) { FILE: example_test.go function Example_presetGradient (line 9) | func Example_presetGradient() { function Example_customGradient (line 20) | func Example_customGradient() { FILE: examples/basic.go function main (line 14) | func main() { FILE: examples/gradients.go type data (line 20) | type data struct type Opt (line 25) | type Opt struct function main (line 30) | func main() { function parseGgr (line 283) | func parseGgr(filepath string) colorgrad.Gradient { function gradientImage (line 298) | func gradientImage(gradient colorgrad.Gradient, width, height int) image... function rgbPlot (line 311) | func rgbPlot(gradient colorgrad.Gradient, width, height int) image.Image { function gradRgbPlot (line 334) | func gradRgbPlot(gradient colorgrad.Gradient, width, height, padding int... function remap (line 357) | func remap(t, a, b, c, d float64) float64 { function savePNG (line 361) | func savePNG(img image.Image, filepath string) { FILE: gimp.go constant epsilon (line 16) | epsilon = 1e-10 constant fracPi2 (line 17) | fracPi2 = math.Pi / 2 type blendingType (line 19) | type blendingType constant linear (line 22) | linear blendingType = iota constant curved (line 23) | curved constant sinusoidal (line 24) | sinusoidal constant sphericalIncreasing (line 25) | sphericalIncreasing constant sphericalDecreasing (line 26) | sphericalDecreasing constant step (line 27) | step type coloringType (line 30) | type coloringType constant rgb (line 33) | rgb coloringType = iota constant hsvCcw (line 34) | hsvCcw constant hsvCw (line 35) | hsvCw type gimpSegment (line 38) | type gimpSegment struct type gimpGradient (line 55) | type gimpGradient struct method At (line 61) | func (ggr gimpGradient) At(t float64) Color { function calc_linear_factor (line 145) | func calc_linear_factor(middle, pos float64) float64 { function blendHsvCcw (line 164) | func blendHsvCcw(c1, c2 Color, t float64) Color { function blendHsvCw (line 190) | func blendHsvCw(c1, c2 Color, t float64) Color { function ParseGgr (line 216) | func ParseGgr(r io.Reader, fg, bg Color) (Gradient, string, error) { function parseSegment (line 291) | func parseSegment(s string, fg, bg Color) (gimpSegment, bool) { FILE: gimp_test.go function Test_GIMPGradient (line 9) | func Test_GIMPGradient(t *testing.T) { FILE: gradient.go type BlendMode (line 10) | type BlendMode method String (line 19) | func (b BlendMode) String() string { constant BlendRgb (line 13) | BlendRgb BlendMode = iota constant BlendLinearRgb (line 14) | BlendLinearRgb constant BlendLab (line 15) | BlendLab constant BlendOklab (line 16) | BlendOklab type Interpolation (line 33) | type Interpolation method String (line 42) | func (i Interpolation) String() string { constant InterpolationLinear (line 36) | InterpolationLinear Interpolation = iota constant InterpolationSmoothstep (line 37) | InterpolationSmoothstep constant InterpolationCatmullRom (line 38) | InterpolationCatmullRom constant InterpolationBasis (line 39) | InterpolationBasis function Rgb (line 67) | func Rgb(r, g, b, a float64) Color { function Rgb8 (line 71) | func Rgb8(r, g, b, a uint8) Color { function GoColor (line 75) | func GoColor(col color.Color) Color { type GradientCore (line 89) | type GradientCore interface type Gradient (line 94) | type Gradient struct method At (line 101) | func (g Gradient) At(t float64) Color { method RepeatAt (line 106) | func (g Gradient) RepeatAt(t float64) Color { method ReflectAt (line 112) | func (g Gradient) ReflectAt(t float64) Color { method Colors (line 118) | func (g Gradient) Colors(count uint) []Color { method Domain (line 129) | func (g Gradient) Domain() (float64, float64) { method Sharp (line 134) | func (g Gradient) Sharp(segment uint, smoothness float64) Gradient { type zeroGradient (line 145) | type zeroGradient struct method At (line 148) | func (zg zeroGradient) At(t float64) Color { FILE: gradient_test.go function Test_Basic (line 9) | func Test_Basic(t *testing.T) { function Test_GetColors (line 35) | func Test_GetColors(t *testing.T) { function Test_SpreadRepeat (line 63) | func Test_SpreadRepeat(t *testing.T) { function Test_SpreadReflect (line 94) | func Test_SpreadReflect(t *testing.T) { FILE: linear.go type linearGradient (line 7) | type linearGradient struct method At (line 17) | func (lg linearGradient) At(t float64) Color { function newLinearGradient (line 65) | func newLinearGradient(colors []Color, positions []float64, mode BlendMo... FILE: linear_test.go function Test_LinearGradient (line 8) | func Test_LinearGradient(t *testing.T) { FILE: preset.go constant deg2rad (line 9) | deg2rad = math.Pi / 180 constant pi1_3 (line 10) | pi1_3 = math.Pi / 3 constant pi2_3 (line 11) | pi2_3 = math.Pi * 2 / 3 type sinebowGradient (line 15) | type sinebowGradient struct method At (line 25) | func (sg sinebowGradient) At(t float64) Color { function Sinebow (line 17) | func Sinebow() Gradient { type turboGradient (line 37) | type turboGradient struct method At (line 47) | func (tg turboGradient) At(t float64) Color { function Turbo (line 39) | func Turbo() Gradient { type cividisGradient (line 62) | type cividisGradient struct method At (line 72) | func (cg cividisGradient) At(t float64) Color { function Cividis (line 64) | func Cividis() Gradient { type cubehelix (line 87) | type cubehelix struct method toColor (line 91) | func (c cubehelix) toColor() Color { method interpolate (line 108) | func (c cubehelix) interpolate(c2 cubehelix, t float64) cubehelix { type cubehelixGradient (line 118) | type cubehelixGradient struct method At (line 158) | func (cg cubehelixGradient) At(t float64) Color { function CubehelixDefault (line 122) | func CubehelixDefault() Gradient { function Warm (line 134) | func Warm() Gradient { function Cool (line 146) | func Cool() Gradient { type rainbowGradient (line 164) | type rainbowGradient struct method At (line 174) | func (rg rainbowGradient) At(t float64) Color { function Rainbow (line 166) | func Rainbow() Gradient { function u32ToColor (line 186) | func u32ToColor(v uint32) Color { function preset (line 193) | func preset(data []uint32) Gradient { function BrBG (line 204) | func BrBG() Gradient { function PRGn (line 209) | func PRGn() Gradient { function PiYG (line 214) | func PiYG() Gradient { function PuOr (line 219) | func PuOr() Gradient { function RdBu (line 224) | func RdBu() Gradient { function RdGy (line 229) | func RdGy() Gradient { function RdYlBu (line 234) | func RdYlBu() Gradient { function RdYlGn (line 239) | func RdYlGn() Gradient { function Spectral (line 244) | func Spectral() Gradient { function Blues (line 251) | func Blues() Gradient { function Greens (line 256) | func Greens() Gradient { function Greys (line 261) | func Greys() Gradient { function Oranges (line 266) | func Oranges() Gradient { function Purples (line 271) | func Purples() Gradient { function Reds (line 276) | func Reds() Gradient { function Viridis (line 283) | func Viridis() Gradient { function Inferno (line 288) | func Inferno() Gradient { function Magma (line 293) | func Magma() Gradient { function Plasma (line 298) | func Plasma() Gradient { function BuGn (line 303) | func BuGn() Gradient { function BuPu (line 308) | func BuPu() Gradient { function GnBu (line 313) | func GnBu() Gradient { function OrRd (line 318) | func OrRd() Gradient { function PuBuGn (line 323) | func PuBuGn() Gradient { function PuBu (line 328) | func PuBu() Gradient { function PuRd (line 333) | func PuRd() Gradient { function RdPu (line 338) | func RdPu() Gradient { function YlGnBu (line 343) | func YlGnBu() Gradient { function YlGn (line 348) | func YlGn() Gradient { function YlOrBr (line 353) | func YlOrBr() Gradient { function YlOrRd (line 358) | func YlOrRd() Gradient { FILE: preset_test.go function Test_PresetGradients (line 7) | func Test_PresetGradients(t *testing.T) { FILE: sharp.go type sharpGradient (line 7) | type sharpGradient struct method At (line 15) | func (sg sharpGradient) At(t float64) Color { function newSharpGradient (line 58) | func newSharpGradient(colorsIn []Color, dmin, dmax float64, smoothness f... FILE: sharp_test.go function Test_SharpGradient (line 8) | func Test_SharpGradient(t *testing.T) { FILE: smoothstep.go type smoothstepGradient (line 7) | type smoothstepGradient struct method At (line 17) | func (sg smoothstepGradient) At(t float64) Color { function newSmoothstepGradient (line 65) | func newSmoothstepGradient(colors []Color, positions []float64, mode Ble... function smoothstepInterpolate (line 83) | func smoothstepInterpolate(a, b [4]float64, t float64) (i, j, k, l float... FILE: util.go function linspace (line 9) | func linspace(min, max float64, n uint) []float64 { function norm (line 23) | func norm(t, a, b float64) float64 { function modulo (line 27) | func modulo(x, y float64) float64 { function clamp01 (line 31) | func clamp01(t float64) float64 { function parseFloat (line 35) | func parseFloat(s string) (float64, bool) { function toLinear (line 40) | func toLinear(x float64) float64 { function col2linearRgb (line 47) | func col2linearRgb(col Color) [4]float64 { function col2oklab (line 56) | func col2oklab(col Color) [4]float64 { function col2hsv (line 69) | func col2hsv(col Color) [4]float64 { function normalizeAngle (line 96) | func normalizeAngle(t float64) float64 { function convertColors (line 104) | func convertColors(colorsIn []Color, mode BlendMode) [][4]float64 { function linearInterpolate (line 121) | func linearInterpolate(a, b [4]float64, t float64) (i, j, k, l float64) { function blendRgb (line 129) | func blendRgb(a, b Color, t float64) Color { constant d65X (line 141) | d65X = 0.95047 constant d65Y (line 142) | d65Y = 1.0 constant d65Z (line 143) | d65Z = 1.08883 constant delta (line 145) | delta = 6.0 / 29.0 constant delta2 (line 146) | delta2 = delta * delta constant delta3 (line 147) | delta3 = delta2 * delta function linearRGBToXYZ (line 150) | func linearRGBToXYZ(r, g, b float64) [3]float64 { function xyzToLab (line 158) | func xyzToLab(x, y, z float64) [3]float64 { function col2lab (line 177) | func col2lab(col Color) [4]float64 { FILE: util_test.go function Test_Utils (line 10) | func Test_Utils(t *testing.T) { function spreadF64 (line 131) | func spreadF64(arr [4]float64) (a, b, c, d float64) { function Test_Lab (line 139) | func Test_Lab(t *testing.T) { function test (line 158) | func test(t *testing.T, a, b any) { function testTrue (line 165) | func testTrue(t *testing.T, b bool) { function testSlice (line 172) | func testSlice[S ~[]E, E comparable](t *testing.T, a, b S) { function testSliceF (line 187) | func testSliceF(t *testing.T, a, b []float64) { function colors2hex (line 203) | func colors2hex(colors []Color) []string { function isZeroGradient (line 211) | func isZeroGradient(grad Gradient) bool {