» 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

~15h ago

joreg: PSA: This wednesday 11pm vvvv.org will be moving servers. If everything goes according to plan we should be back within a few hours.

~23h ago

joreg: Also as every 2 weeks: This Tuesday: Free introduction to the all-new #vvvv: free-vvvv-intro-workshops-this-summer-in-berlin followed by the regular vvvv meetup

~24h ago

skyliner: anyone at usbynight?

~1d ago

joreg: Reminder: This wednesday in #berlin: Getting Started with Data Visualization: https://nodeforum.org/announcements/workshop-getting-started-with-data-visualization/ vvvv #creativecoding #dataviz

~3d ago

joreg: @eglod vvvv is international! wenn du hilfe auf deutsch brauchst, dann komm am besten in unseren deutschen chat: https://riot.im/app/#/room/#vvvv-at:matrix.org

~4d ago

eglod: In allen möglichen Sprachen gibt es VVV. V4 ist deutsch, warum nicht in deutscher Sprache. eglod

~4d ago

eglod: In allen möglichen Sprachen gibt es VVV. V4 ist deutsch, warum nicht in deutscher Sprache. eglod

~5d ago

joreg: Reminder: First #vvvv meetup in #hamburg this friday: vvvv-hamburg-meetup-1 Hope to see some of you there!

~7d ago

AKa-visuals: Hi guys. Everyone guess when xenko engine would be avaliable to play around in vl ... Isnt?