POV-Ray : Newsgroups : povray.general : Help With Image : Re: Help With Image Server Time
28 May 2022 00:55:21 EDT (-0400)
  Re: Help With Image  
From: Craig Lindley
Date: 17 Apr 2022 20:05:00
Message: <web.625ca9d32a8c6bc62f73d2b2bc520638@news.povray.org>
"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

Copyright 2003-2021 Persistence of Vision Raytracer Pty. Ltd.