Csound Csound-dev Csound-tekno Search About

Re: Curve equation needed...

Date1997-03-02 23:36
FromJavier Ruiz
SubjectRe: Curve equation needed...
Hi Marc.
Try this one:

y=(1-(1-x)^n)^(1/n)

This will give you:
 y=x when n=1
 and what you want when n=infinite (or almost)

Special thanks to Martin Gardner where thou shall find the answers.

P.S. Just came back from the Musik Messe at Frankfurt. I did not see the
SHARC Csound anywhere. Too many electric guitars though. Maybe next year...



>I'm looking for a particular parametrical curve who could fit the following
>scheme: Imagine a unity square defined by the two following points
>(0,0)-(1,1). For a given value of the parameter (let's say zero), the curve
>would be the diagonal of the square. When the parameter would augment, it
>would slowly distord in order to map the upper half border of the square [
>i.e. defined by (0,0)-(0,1)-(1,1) ]. Ideally, when the parameter is
>inifinite, the curve would exactly map this contour.

Javier Ruiz
C/Las Americas, 4, bajo.
38205 Santa Cruz de Tenerife
CANARY ISLANDS-SPAIN
phone: 34 22 25 35 14
e-mail: javiruiz@lix.intercom.es