interpolate

package
v0.0.0-...-c131409 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 28, 2019 License: MIT Imports: 1 Imported by: 3

Documentation

Overview

Package interpolate Simple interpolation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Acceleration

func Acceleration(t, start, end float64) float64

func Backstart

func Backstart(t, start, end float64) float64

func BezierCurve

func BezierCurve(t float64, p []float64) float64

Bezier Curve

func BezierCurveRange

func BezierCurveRange(n int, points []float64) (rng []float64)

func Boing

func Boing(t, start, end float64) float64

func Cosine

func Cosine(t, start, end float64) float64

func CubicAcceleration

func CubicAcceleration(t, start, end float64) float64

func CubicDeccelaration

func CubicDeccelaration(t, start, end float64) float64

func CustomCurve

func CustomCurve(t float64, curve []float64, start, end float64) float64

func Deccelaration

func Deccelaration(t, start, end float64) float64

func Ease

func Ease(t, start, end float64) float64

func EaseIn

func EaseIn(t, start, end float64) float64

func EaseInCirc

func EaseInCirc(t, start, end float64) float64

func EaseInCubic

func EaseInCubic(t, start, end float64) float64

func EaseInExpo

func EaseInExpo(t, start, end float64) float64

func EaseInOut

func EaseInOut(t, start, end float64) float64

func EaseInOutCirc

func EaseInOutCirc(t, start, end float64) float64

func EaseInOutCubic

func EaseInOutCubic(t, start, end float64) float64

func EaseInOutExpo

func EaseInOutExpo(t, start, end float64) float64

func EaseInOutQuad

func EaseInOutQuad(t, start, end float64) float64

func EaseInOutQuart

func EaseInOutQuart(t, start, end float64) float64

func EaseInOutQuint

func EaseInOutQuint(t, start, end float64) float64

func EaseInOutSine

func EaseInOutSine(t, start, end float64) float64

func EaseInQuad

func EaseInQuad(t, start, end float64) float64

func EaseInQuart

func EaseInQuart(t, start, end float64) float64

func EaseInQuint

func EaseInQuint(t, start, end float64) float64

func EaseInSine

func EaseInSine(t, start, end float64) float64

func EaseOut

func EaseOut(t, start, end float64) float64

func EaseOutCirc

func EaseOutCirc(t, start, end float64) float64

func EaseOutCubic

func EaseOutCubic(t, start, end float64) float64

func EaseOutExpo

func EaseOutExpo(t, start, end float64) float64

func EaseOutQuad

func EaseOutQuad(t, start, end float64) float64

func EaseOutQuart

func EaseOutQuart(t, start, end float64) float64

func EaseOutQuint

func EaseOutQuint(t, start, end float64) float64

func EaseOutSine

func EaseOutSine(t, start, end float64) float64

func ICircleRange

func ICircleRange(n int, f Interp) []float64

func IRange

func IRange(n int, start, end float64, f Interp) (rng []float64)

IRange

func Linear

func Linear(t, start, end float64) float64

func LinearSqr

func LinearSqr(t, start, end float64) float64

func Sigmoid

func Sigmoid(t, start, end float64) float64

func Sine

func Sine(t, start, end float64) float64

func SmoothStep

func SmoothStep(t, start, end float64) float64

func SmoothStepDouble

func SmoothStepDouble(t, start, end float64) float64

Types

type Interp

type Interp func(float64, float64, float64) float64

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL