Curve recommendations



Dear all,

I would like to use "interesting curves" for "sliders" on software
music synthesisers. Typically these synths will have "sliders" which
are a vertical or horizontal line, along which a point can be dragged
from say minimum value (bottom or left of the line) to maximum value
(top or right of the line). I'd like to use other shapes other than a
straight line. For example, I could use an arc from a circle. When
dragging the point along the arc, I'd be calculating the closest
position between the arc and the mouse position (x,y), and moving the
point on the arc representing the parameter value to that point. I'd
also need to extract the parameter value from that

If I use an arc from a circle, then I can easily find the minimum
distance between any point and the arc. I can then easily turn that
into a %age value along the arc by extracting the angle from the
origin to that point, and comparing to the minimum and maximum values
for the arc. Job done, if I was sensible.

However, I'm wondering if there are other interesting curves which I
could use. As far as I can see, any function where I can solve for x'
and f(x') (the closest point) from the mouse click (x,y)

d (x-x')*(x-x') + (f(x')-y') * (f(x')-y') d x' = 0

and where there is a single, or at least a small number of minimums/
maximums. It would also help if I could quickly convert x',f(x') into
a %age along the visible curve. The domain of x' can be chosen
arbitrarily.

What I'd like to ask is if there are any "interesting" curves that
might be worth looking into. S shaped curves and the like.

I should warn people that I have no strong reason or requirement to do
this, it's just an "interesting problem".

Any recommendations/comments?
.



Relevant Pages

  • Re: Curve recommendations
    ... I could use an arc from a circle. ... I'm wondering if there are other interesting curves which I ... a %age along the visible curve. ... I should warn people that I have no strong reason or requirement to do ...
    (sci.math)
  • Re: nice closed-form curve parameterizations by arc length
    ... are there any curves with nice ... closed-form parameterization by arc length in 2 or 3 dimensions? ... As an exercise try deriving loxodromes on a sphere as function of arc ...
    (sci.math)
  • curves in C set of algebraic numbers
    ... From the discussions in "Functions and Curves", ... Or, using a non-constructive argument, let a and b be two transcendentals in C\A. ... Y has 2^aleph_0 elements with different curvatures. ... Suppose every arc g in Y passes through some algebraic ...
    (sci.math)
  • Re: sin x / x tends to 1...
    ... >before adopting it for all curves... ... that there are inscribed polyhedra whose surface areas are ... Archimedes made arc length as the infimum for circumscribing ... Herman Rubin, Department of Statistics, Purdue University ...
    (sci.math)
  • Re: The current Sally Forth storyline
    ... ted@xxxxxxxxxxxxxxx (Ted Nolan <tednolan>) wrote: ... change much when they're mom's age, so I wonder how this arc (of ...
    (rec.arts.comics.strips)