Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
5 lines (3 sloc) 169 Bytes
///Map(val, min1, max1, min2, max2)
// taken from Processing's source
return argument3 + (argument4 - argument3) * ((argument0 - argument1) / (argument2 - argument1));