Calculating Numbers

Scott Rossi scott at tactilemedia.com
Tue May 22 00:54:51 EDT 2007


Being math challenged as I am, I'm wondering if any of the math experts out
there can explain how to increase the value of a variable by a progressively
decreasing amount.  I believe this might be referred to as logarithmic
change(?).

In any event, I want to start with a base number, say 75, and add
progressively decreasing values to the base in a specified number of steps
until I reach 255.
For example (maybe about 20 steps):

75
-- 18
93
-- 17
110
-- 16
126
-- 15
141
-- 14
154
-- 13
. . .
. . .
. . .
240
-- 5
245
-- 4
249
-- 3
252
-- 2
254
-- 1
255

I'm sure there's a formula for this but it's been years for me...  Thanks
for any suggestions.

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design





More information about the use-livecode mailing list