» Map (Value)
This site relies heavily on Javascript. You should enable it if you want the full experience. Learn more.

Map (Value)

Help Maps the value in the given range to a proportional value in the given output range
Author vvvv group

Here you are supposed to see an image (rendered with SVG) describing the pins of this node. However, this does not work with Internet Explorer. You may want to consider using another browser, like FireFox, Chrome, Safari or Opera that do support SVG.

Bugs will return the input minimum if the source max-min is near zero

related discussions

start a forum thread about this node

about Map (Value)

Map (Value) does the following:

Map source minimum to source maximum,
map dest. mininmum to dest. maximum.

All values between source min and source max should be equivalently translated into the destination room.

This node usually solves all hairy issues related to the rule of three or rule of proportion (In german this is also called Dreisatz or Satz mit x) Its typically much more maintainable than a straightforward combination of / (Value) and + (Value) nodes.


The modes are only interesting for input values outside the range source min...source max.

Float: if the source values are outside the source region just put the output outside the destination region.

Wrap:if the input is larger than source max just wrap around and begin with the destination min. output values will always be in dest min...dest max

Mirror: if an input values is bigger than source max, then mirror at this value. output values will always be in dest min...dest max

Clamp: if an input value is smaller than source min then output will be destination min. (...bigger than source max then output will be dest max)

anonymous user login


~22d ago

manuel: very cool to generate matcap / cubemap for reflections https://cables.gl/p/pDCOCw

~22d ago

joreg: Join us for the 19th #vvvv meetup on November 11th: https://thenodeinstitute.org/event/19-worldwide-vvvv-meetup/

~1mth ago

~2mth ago

joreg: @zaid please ask this in the forum: https://discourse.vvvv.org/

~2mth ago

zaid: how can i detect a changing spread in gamma? the old workflow with a change and select node isnt possible. cheers

~2mth ago

joreg: @dawoof such a question is probably better asked in the forum or chat

~2mth ago

dawoof: hey vvvvers, What are yall's fav depth-camera for body tracking? (dancing in this case) eyeing the ZED but the delivery time is long