@Jamestocher said:
I had a look, but this is using [gcanvas]
I think you misunderstood the helpfile there. The array and [gcanvas] are overlapping. The points are plotted in the array, while the [gcanvas] object is just used for mouse interaction so that you can adjust the curve while dragging.
Also, the mapping objects don't draw to an array themselves, they just calculate the curves by taking a linear input range of 0-1 and remapping that to a curved output in the range of 0-1. The reason for this is to make your ranges easy to scale. For example:
[/ 100] <-- scale your 0-100 range to 0-1
|
[mapping/exponential_curve]
|
- <-- scale the output to 0-198
|
[- 99] <-- bring it down to -99 to 99
So all you really need to do is scale the x-axis range you need to plot to 0-1 and the output range up to what you need and plot it your array using a method similar to what emacpher posted.