# Scaled Mapping a Value

**URL:** <https://discourse.processing.org/t/scaled-mapping-a-value/27564>\
**Category:** Coding Questions\
**Created:** [February 3, 2021, 1:15pm UTC](https://discourse.processing.org/t/scaled-mapping-a-value/27564 "2021-02-03T13:15:32Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Chrisir](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/chrisir/32/45_2.png) [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Post date:** [February 3, 2021, 2:49pm UTC](https://discourse.processing.org/t/scaled-mapping-a-value/27564/3 "2021-02-03T14:49:18Z")

</div>

yeah.

But when -5 and -2 are only EXAMPLES for a non linear mapping see also [How do I lerp colors on a curve? (not linear interpolation) - #4 by Chrisir](https://discourse.processing.org/t/how-do-i-lerp-colors-on-a-curve-not-linear-interpolation/24815/4)

Chrisir

---

_[View the full topic](https://discourse.processing.org/t/scaled-mapping-a-value/27564)._
