05-04-2022, 05:04 PM
What's most amazing about map! is how you can reverse the ranges.
If you want a high value from a lower display position:
vel = map!( mx, 60, 260, 100, 0) 'just flip the last two terms.
If you want a high value from a lower display position:
vel = map!( mx, 60, 260, 100, 0) 'just flip the last two terms.
DO: LOOP: DO: LOOP
sha_na_na_na_na_na_na_na_na_na:
sha_na_na_na_na_na_na_na_na_na: