so, i have modularized my mapping abstractions now.
some of them do now need 3 times more CPU than before, but this way the stuff is easier to
extend or change.
the MAP objects distort a range of n-m and map it to another range, the MAKE objects
take a range of n-m and created distorted output of the same range, the DO objects
work on a range of 0. – 1.
110.map just maps linear, 110.map-down maps from n-m to 0.-1. and 110.map-up the
other way round.
the log, exp, pow, and trunc distortions require an argument, the other functions dont.
this argument always has to follow the range arguments.
example: in [110.map-log 0 127 1 50 90] the 90 belongs to the "log".
look into [110-map-overview] and [110-map build yourself].
C74 RSS Feed | © Copyright Cycling '74