Skip to content

Commit

Permalink
Fix examples of the scale_exponential expression function
Browse files Browse the repository at this point in the history
  • Loading branch information
DelazJ authored Dec 24, 2024
1 parent 8825f86 commit 4b35019
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions resources/function_help/json/scale_exponential
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@
"description": "A positive value (greater than 0), which dictates the way input values are mapped to the output range. Large exponents will cause the output values to 'ease in', starting slowly before accelerating as the input values approach the domain maximum. Smaller exponents (less than 1) will cause output values to 'ease out', where the mapping starts quickly but slows as it approaches the domain maximum."
}],
"examples": [{
"expression": "scale_exp(5,0,10,0,100,2)",
"returns": "25",
"expression": "scale_exponential(5,0,10,0,100,2)",
"returns": "3.030",
"note": "easing in, using an exponent of 2"
}, {
"expression": "scale_exp(3,0,10,0,100,0.5)",
"returns": "54.772",
"expression": "scale_exponential(3,0,10,0,100,0.5)",
"returns": "87.585",
"note": "easing out, using an exponent of 0.5"
}],
"tags": ["exponential", "curve", "ease", "transforms", "output", "given", "input", "domain", "range", "specified", "values"]
Expand Down

0 comments on commit 4b35019

Please sign in to comment.