|
 |
While working on several projects, I've wanted/needed to implement various
spiral patterns, and the Doyle Spiral is an especially interesting one.
Luckily, I was able to find a good write-up on a Mathematica implementation, as
well as a basic implementation in POV-Ray.
The POV-Ray implementation, although somewhat recent, seemed to have been coded
by someone who hadn't used POV-Ray in a long while, and so used some (what I'd
consider) deprecated code, and bad coding methods (some global identifiers
caused me some debugging grief). The exponentiation of the complex numbers was
awkwardly (and unnecessarily) split into two parts, where a single general
method works just fine for all exponents.
Adding the lines ("linear spirals" as opposed to the "circular spirals") was a
long, bumpy ride on the struggle bus, due to simultaneously trying to understand
the fundamentals of what was going on, trying to make that happen with complex
numbers, and being interrupted all day by RL things.
I still need to convert a bunch of stuff that's in macro form to functions,
finish the last bit of complex interpolation, create a prism macro, and then
Enjoy.
- BE
Post a reply to this message
Attachments:
Download 'enhanceddoylespiral.jpg' (162 KB)
Preview of image 'enhanceddoylespiral.jpg'

|
 |