» 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.

Credits
Warnings
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.

MapRangeModes:

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

Shoutbox

~4d ago

bjoern: Yo peeps! I am looking for a job/project starting July. For contact info check: vvvv specialists available for hire

~1mth ago

joreg: Summer Season 23 vvvv workshops are now ready for sign-up: https://thenodeinstitute.org/vvvv-intermediates-summer-2023/

~1mth ago

schlonzo: yeah! shader input pins now also visible, while the variable it not used!

~1mth ago

benju: Job opportunity, teaching Sounddesign for New Media purposes in Berlin (6hrs/week): https://www.letteverein.berlin/wp-content/uploads/2023/03/Ausschreibung_MIA_LK_6_UStd._Sounddesign_NEU.pdf

~1mth ago

joreg: vvvv gamma 5.0 is out! Please read all about it in the release notes: https://visualprogramming.net/blog/2023/vvvv-gamma-5.0-release

~2mth ago

domj: Coming to LPM next weekend? Learn more about one of the first full vvvv gamma apps, Schéma! https://liveperformersmeeting.net/editions/2023-muenster/program/detail/schema-talk/

~2mth ago

joreg: Want to get started with #vvvv? Check this 12 session beginner online course starting May 8th: https://thenodeinstitute.org/courses/vvvv-beginner-class-summer-2023/

~3mth ago

mediadog: @ggml Yup, lots. Only used in 4.x, haven't tried in 5.x yet: https://www.unrealengine.com/marketplace/en-US/product/simple-udp-tcp-socket-client