Package toxi.math
package toxi.math
-
ClassDescriptionBezier curve interpolation with configurable coefficients.Implementation of the circular interpolation function.Implementation of the cosine interpolation function: i = b+(a-b)*(0.5+0.5*cos(f*PI))Delivers a number of decimated/stepped values for a given interval.Exponential curve interpolation with adjustable exponent.Defines a generic function to interpolate 2 float values.Implementations of 2D interpolation functions (currently only bilinear).Implementation of the linear interpolation function i = a + ( b - a ) * fMiscellaneous math utilities.This class maps values from one interval into another.Implements the sigmoid interpolation function with adjustable curve sharpnessLookup table for fast sine & cosine computations.Defines a single step/threshold function which returns the min value for all factors < threshold and the max value for all others.This class provides an adjustable zoom lens to either bundle or dilate values around a focal point within a given interval.