[vox-tech] [OT] Math question: help me make a rainbow

Bill Kendrick nbs at sonic.net
Wed Apr 1 17:15:31 PDT 2009


On Tue, Mar 31, 2009 at 10:12:04PM -0700, Bill Broadley wrote:
> Hrm, I don't think ascii is going to help, at least for me.  Ah, ok, I have an
> idea of what you think you want to do.  I think you do need 3 points.  A
> center, radius, range of angles.  Basically there are an infinite number of
> 180 degree curves that go through 2 points, and there's no way to know how
> high the peak should be, nor which exact fraction of a circle to display.

True.  But going under the assumption that ONE of the points is at the
far left or right of the circle (at the 0th or 180th degree), that allows
for only one circle/arc that can go through the points.

Make sense?

-bill!


More information about the vox-tech mailing list