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

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


On Wed, Apr 01, 2009 at 10:37:37AM -0700, Harold Lee wrote:
>    Not sure if the formulas you've set out do this, but couldn't the rainbow
>    tool treat the difference between y coordinates as depth, the way that the
>    grass tool does? When y1 == y2, you get a semi-circle with the height ==
>    1/2 * abs(x2 - x1), i.e. the radius. Otherwise you get a rainbow with a
>    wider base at the point closer to the bottom of the screen that arcs back
>    to the other point.

Neat idea, but I worry about kitchensinkness. :)

-bill!


More information about the vox-tech mailing list