|
|
"jr" <cre### [at] gmailcom> wrote:
> hi,
>
> "Craig Lindley" <cal### [at] gmailcom> wrote:
> > ...
> > After struggling with Doyle circle packing code for a week I finally have an
> > image which is close to the original image I posted.
>
> worth it, I think.
>
> (best viewed through sunglasses perhaps :-))
>
>
> > I've attached the image and
> > a POV file in case anyone wants to play around with it. I wrote the circle
> > packing code in Java and then transferred the generated spheres into a POV file.
> > If anyone is interested in the Java code, let me know and I can get it to you.
>
> thanks. have no interest in Java but wouldn't mind knowing why you chose it
> over SDL when you implemented the code (given that geometrical calculations are
> SDL's "bread-and-butter").
>
>
> regards, jr.
I did it in Java because there is a lot of math involved. It is necessary to
solve the initial-value problem of differential equations using the Runge-Kutta
method which I am sure could
be done in SDL but there would be many pages of macros/functions to do so. Also
Java is easier to debug.
Post a reply to this message
|
|