|
|
"Kenneth" <kdw### [at] gmailcom> wrote:
>
> The only thing I succeeded in doing was slightly simplifying your
> equations, to make them easier to work with (for me.) I think they behave a
> *little* bit better, but not much.
> [snip]
> I think that the same rifling/spiral effect as your's can be gotten
> by leaving the first 'tau' here as tau/1 (or just tau), and only changing the
> 2nd tau.
Well, I was wrong :-/ In my own 'simplified' group of equations, leaving the
first tau as tau/1 produces only ONE groove down the length of the barrel, no
matter how I change the frequency.
#declare Helix = function {select (mod (Theta(x, y, z), tau/1) - tau/2, 0.15,
0.35)}
The rifling should have *many* grooves---which your code successfully produces.
Your own set of equations is definitely better-- even with the little 'glitch'
(which can be translated away.)
As usual, I didn't see this until after I posted. (**groan**)
Post a reply to this message
|
|