Open franckaubry opened 2 weeks ago
thank you !yes makes total sense, this is how the op should work...
i creaated a new version: https://github.com/cables-gl/cables/tree/develop/src/ops/base/Ops.Array.ArrayNumberRamp_v2
do you want to create a pull request with your bottom code ? just paste it into this js file
BUG:
When having two positive numbers, the values are being shifted
Possible fix:
OP functionality alternative:
Also it seems a bit "restrictive" to let the output always start with the smallest number.
Wouldn't it make more sense to just have a simple calculation like: Start Value = Actual start value of array End Value = Actual end value of the array
Then the user can choose what the start/end value can be, no matter which is smaller/larger?
Possible fix:
Patch with new codes: https://cables.gl/edit/oi8nGs