View Single Post
Old 04-14-2013, 02:49 AM   #525 (permalink)
some_other_dave
Master EcoModder
 
Join Date: Jul 2008
Location: Silly-Con Valley
Posts: 1,479
Thanks: 201
Thanked 262 Times in 199 Posts
I believe we're both referring to the formulae in this post: http://ecomodder.com/forum/showthrea...tml#post362869

The colors of the line are generated by different "m" numbers. The "t" is just a number that gets varied to generate a single teardrop shape. It is the parameter that gets varied in the parametric equations.

You are always going to run "t" from 0 to ~6.283. (That's 3.14159... * 2.) Plugging each "t" in turn into the two equations provided produces the X and the Y coordinates for that particular curve. Look at the table from the spreadsheet, the first column is "t" in increments of 0.1, and the next two are the X and the Y calculated from that particular "t".

-soD
  Reply With Quote