HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Cast your vote for how I create my spiral function

04-15-2004, 10:54 PM#1
Narwanza
Okay, I am going to create a spiral function that creates equilateral spirals. I know it has been done b4, but I have never seen one that uses these specific spirals. I will add much more to it later, like the capability of defining 4 spirals all with different directions in just 1 function, but I need help deciding on how my distance between locations should be determined. I am going to be working with polar, so here are your two options.

1. The locations are calculated based on a user-provdided interval of R
2. The locations are calculated based on a degree interval

The first one the user would pass say a value of 50 for R. The first location made would be when R is 50, the second would be when R is 100, etc...

The second one the user would pass an angle of say 15. The first location would then be calculated at 15 degrees no matter what R is. The second at 30 degrees. etc...

If you have no idea what I am talking about, don't vote.
04-16-2004, 06:41 PM#2
AIAndy
Neither nor. Use equidistance between the points and compute r and theta from that. You can look how that is done in the spiral template in my spell classes system (http://kattana.users.whitehat.dk/viewfunc.php?id=274)