scale Reference

Map an input range of values to an output range

scale

Examples

Constructors

  • { arguments={ilo, ihi, olo, ohi, exp}, inlets={input} }
  • { arguments={ilo, ihi, olo, ohi}, inlets={input, exp} }
  • { arguments={ilo, ihi, olo}, inlets={input, ohi, exp} }
  • { arguments={ilo, ihi}, inlets={input, olo, ohi, exp} }
  • { arguments={ilo}, inlets={input, ihi, olo, ohi, exp} }
  • { arguments={}, inlets={input, ilo, ihi, olo, ohi, exp} }

Inlets

input

Typefloat

value to scale

ilo

Typefloat

input range lower value

ihi

Typefloat

input range upper value

olo

Typefloat

output range lower value

ohi

Typefloat

output range upper value

exp

Typefloat

exponential curve

Attributes

Common Box Attributes

See Also

Name Description
clamp
fold
gate
mix
selector
smoothstep
switch
wrap