In the words of the Petshop Boys, It's A Sin(e wave)

I think sin(value * pi / 2) should give you the range you want.

On 19 Mar 2010, at 19:14, Dan Winckler wrote:

> Hi folks,
> 
> What do you call a curve like the one in the attached image?  Rather, what's 
> the mathematical term for the equation that produces such a double curve.  I 
> am trying to scale an incoming float number (0.0 – 1.0) so that it changes 
> more quickly in the middle of the range (~0.2 - 0.8) than at the top and 
> bottom (~ 0.0 - 0.2, 0.8 - 1.0).  Right now I've got exponential scaling, 
> which works for the bottom of the range but not the top.  
> 
> I place full blame for my lack of knowledge on the American educational 
> system.  (Well, maybe a little bit of the blame falls on my shoulders for 
> only taking one CS class in college.)  Regardless, is there a mathemagician 
> among you who can pass this quiz?
> 
> thanks,
> dan
> 
> 
> 
> <Screen shot 2010-03-19 at 2.30.55 PM.png> 
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Quartzcomposer-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/quartzcomposer-dev/bangnoise%40gmail.com
> 
> This email sent to [email protected]

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to