Re: Calculating Numbers

2007-05-22 Thread Richard K. Herz
Scott, See stack "ease255" on RevOnline under user "ReactorLab" - a variation of the old "ease in" stack for graphics. Rich ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your s

Re: Calculating Numbers

2007-05-22 Thread John Craig
The following might be of some use - or even tweakable; go stack URL "http://www.molekular.co.uk/tmp/seriesTest.rev"; JC Scott Rossi wrote: 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

Re: Calculating Numbers

2007-05-22 Thread Jim Ault
my first thoughts would be ---how often is this ocurring? ---is it tied to a user-feedback event (eg. mouse move, scroll change) ---do you have to keep changing it in the design process ---are you limited to integers or can there be real numbers Your example describes a linear "arithmetic progress

Re: Calculating Numbers

2007-05-22 Thread Martin Blackman
Simplest suggestion is an arithmetic series Each term of the series increases (or decreases) by a constant amount You need the series to sum to 180 (to go from 75 to 255) For n terms the sum is 0.5*n*(a[1]+a[n]) Therefore for 30 terms, a[30]=12-a[1] Also, a[n]=a[1]+d*(n-1) where d is the constant

Re: Calculating Numbers

2007-05-21 Thread Scott Rossi
Recently, kee nethery wrote: >> start with a base number, say 75, and add > > You mean base as in the starting number and not base as in base16 or > base24 or base75? Yes, a starting number. Thanks for helping me clarify what I'm after. I looking to calculate the value to be added in each step

Re: Calculating Numbers

2007-05-21 Thread kee nethery
When you say start with a base number, say 75, and add You mean base as in the starting number and not base as in base16 or base24 or base75? If that's the case: put 75 into theNum repeat with x = 18 down to 1 add x to theNum if theNum > 254 then exit repeat end if end rep

Calculating Numbers

2007-05-21 Thread Scott Rossi
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 a