 |
 |
|
 |
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
hi,
"Craig Lindley" <cal### [at] gmail com> 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.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"jr" <cre### [at] gmail com> wrote:
> hi,
>
> "Craig Lindley" <cal### [at] gmail com> 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
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"Craig Lindley" <cal### [at] gmail com> wrote:
> "jr" <cre### [at] gmail com> wrote:
> > hi,
> >
> > "Craig Lindley" <cal### [at] gmail com> 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.
Here is another image using the same data after I worked on the sphere's
texture/pigment
Post a reply to this message
Attachments:
Download 'spheresdoyle.png' (1601 KB)
Preview of image 'spheresdoyle.png'

|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"jr" <cre### [at] gmail com> wrote:
> hi,
>
> kurtz le pirate <kur### [at] gmail com> wrote:
> > ...
> > I made this kind of picture.
> > I just found this old code in my archives.
> > ...
>
> "heavy, man. psychedelic." ;-)
>
>
> regards, jr.
I tried to render this image but ended up with this. Is this a bug in poverty
3.8?
Post a reply to this message
Attachments:
Download 'kip.png' (187 KB)
Preview of image 'kip.png'

|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"Craig Lindley" <cal### [at] gmail com> wrote:
> "jr" <cre### [at] gmail com> wrote:
> > hi,
> >
> > kurtz le pirate <kur### [at] gmail com> wrote:
> > > ...
> > > I made this kind of picture.
> > > I just found this old code in my archives.
> > > ...
> >
> > "heavy, man. psychedelic." ;-)
> >
> >
> > regards, jr.
>
> I tried to render this image but ended up with this. Is this a bug in poverty
> 3.8?
Never mind. When I restarted pov the problem went away
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
hi,
"Craig Lindley" <cal### [at] gmail com> wrote:
> ...
> > I tried to render this image but ended up with this. Is this a bug in poverty
> > 3.8?
>
> Never mind. When I restarted pov the problem went away
nice "glitch" :-). (I use command-line only, no UI)
regards, jr.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On 16/04/2022 19:28, Craig Lindley 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. 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.
I am curious to see this code just to see if it is easily adaptable to
POVRay SDL...
So I was inspired and made these two images based on the principle : no
heavy calculations... and only one spiral with tangent circles.
--
Kurtz le pirate
Compagnie de la Banquise
Post a reply to this message
Attachments:
Download 'doyle01.jpg' (89 KB)
Download 'doyle02.jpg' (114 KB)
Preview of image 'doyle01.jpg'

Preview of image 'doyle02.jpg'

|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Le 2022-04-19 à 12:05, kurtz le pirate a écrit :
> On 16/04/2022 19:28, Craig Lindley 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. 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.
>
>
> I am curious to see this code just to see if it is easily adaptable to
> POVRay SDL...
>
> So I was inspired and made these two images based on the principle : no
> heavy calculations... and only one spiral with tangent circles.
>
>
>
Nice.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On 2022-04-16 13:29 (-4), Craig Lindley wrote:
> "Craig Lindley" <cal### [at] gmail com> wrote:
>
> And here is the poverties file
I played with the textures in your scene, and I discovered some
misplaced spheres. They are the four yellow spheres at the center on
the otherwise blue spiral. They didn't show in your render because your
ARM1 and ARM5 use the same pigment.
Here are the corrected unions:
---------------[BEGIN CODE EXCERPTS]---------------
#declare SphereC1 =
union {
sphere {<2.496186, 0, -0.000000>, 0.561107}
sphere {<96.913531, 0, -0.000000>, 21.784787}
sphere {<2.898755, 0, 1.200703>, 0.705286}
sphere {<112.543128, 0, 46.616890>, 27.382465}
sphere {<2.788691, 0, 2.788691>, 0.886511}
sphere {<108.269931, 0, 108.269931>, 34.418486}
sphere {<1.897030, 0, 4.579836>, 1.114303}
sphere {<73.651524, 0, 177.810508>, 43.262438}
sphere {<0.000000, 0, 6.230943>, 1.400628}
sphere {<-2.997179, 0, 7.235830>, 1.760524}
sphere {<-6.961089, 0, 6.961089>, 2.212897}
sphere {<-11.432120, 0, 4.735339>, 2.781508}
sphere {<-15.553590, 0, 0.000000>, 3.496227}
sphere {<-18.061974, 0, -7.481515>, 4.394594}
sphere {<-17.376171, 0, -17.376171>, 5.523801}
sphere {<-11.820286, 0, -28.536694>, 6.943161}
sphere {<-0.000000, 0, -38.824648>, 8.727230}
sphere {<18.675250, 0, -45.086041>, 10.969723}
sphere {<43.374150, 0, -43.374150>, 13.788432}
sphere {<71.232886, 0, -29.505628>, 17.331418}
sphere {<1.834734, 0, -0.759972>, 0.446402}
sphere {<1.117181, 0, -1.117181>, 0.355146}
}
#declare SphereC5 =
union {
sphere {<15.553590, 0, -0.000000>, 3.496227}
sphere {<18.061974, 0, 7.481515>, 4.394594}
sphere {<17.376171, 0, 17.376171>, 5.523801}
sphere {<11.820286, 0, 28.536694>, 6.943161}
sphere {<0.000000, 0, 38.824648>, 8.727230}
sphere {<-18.675250, 0, 45.086041>, 10.969723}
sphere {<-43.374150, 0, 43.374150>, 13.788432}
sphere {<-71.232886, 0, 29.505628>, 17.331418}
sphere {<-96.913531, 0, 0.000000>, 21.784787}
sphere {<-112.543128, 0, -46.616890>, 27.382465}
sphere {<-108.269931, 0, -108.269931>, 34.418486}
sphere {<-73.651524, 0, -177.810508>, 43.262438}
sphere {<6.961089, 0, -6.961089>, 2.212897}
sphere {<11.432120, 0, -4.735339>, 2.781508}
sphere {<-0.000000, 0, -6.230943>, 1.400628}
sphere {<2.997179, 0, -7.235830>, 1.760524}
sphere {<-2.496186, 0, 0.000000>, 0.561107} // was in SphereC1
sphere {<-2.898755, 0, -1.200703>, 0.705286} // was in SphereC1
sphere {<-2.788691, 0, -2.788691>, 0.886511} // was in SphereC1
sphere {<-1.897030, 0, -4.579836>, 1.114303} // was in SphereC1
}
----------------[END CODE EXCERPTS]----------------
Post a reply to this message
Attachments:
Download 'spheresdoyle-rc3.jpg' (317 KB)
Preview of image 'spheresdoyle-rc3.jpg'

|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Cousin Ricky <ric### [at] yahoo com> wrote:
> On 2022-04-16 13:29 (-4), Craig Lindley wrote:
> > "Craig Lindley" <cal### [at] gmail com> wrote:
> >
> > And here is the poverties file
>
> I played with the textures in your scene, and I discovered some
> misplaced spheres. They are the four yellow spheres at the center on
> the otherwise blue spiral. They didn't show in your render because your
> ARM1 and ARM5 use the same pigment.
>
> Here are the corrected unions:
> ---------------[BEGIN CODE EXCERPTS]---------------
> #declare SphereC1 =
> union {
> sphere {<2.496186, 0, -0.000000>, 0.561107}
> sphere {<96.913531, 0, -0.000000>, 21.784787}
> sphere {<2.898755, 0, 1.200703>, 0.705286}
> sphere {<112.543128, 0, 46.616890>, 27.382465}
> sphere {<2.788691, 0, 2.788691>, 0.886511}
> sphere {<108.269931, 0, 108.269931>, 34.418486}
> sphere {<1.897030, 0, 4.579836>, 1.114303}
> sphere {<73.651524, 0, 177.810508>, 43.262438}
> sphere {<0.000000, 0, 6.230943>, 1.400628}
> sphere {<-2.997179, 0, 7.235830>, 1.760524}
> sphere {<-6.961089, 0, 6.961089>, 2.212897}
> sphere {<-11.432120, 0, 4.735339>, 2.781508}
> sphere {<-15.553590, 0, 0.000000>, 3.496227}
> sphere {<-18.061974, 0, -7.481515>, 4.394594}
> sphere {<-17.376171, 0, -17.376171>, 5.523801}
> sphere {<-11.820286, 0, -28.536694>, 6.943161}
> sphere {<-0.000000, 0, -38.824648>, 8.727230}
> sphere {<18.675250, 0, -45.086041>, 10.969723}
> sphere {<43.374150, 0, -43.374150>, 13.788432}
> sphere {<71.232886, 0, -29.505628>, 17.331418}
> sphere {<1.834734, 0, -0.759972>, 0.446402}
> sphere {<1.117181, 0, -1.117181>, 0.355146}
> }
>
> #declare SphereC5 =
> union {
> sphere {<15.553590, 0, -0.000000>, 3.496227}
> sphere {<18.061974, 0, 7.481515>, 4.394594}
> sphere {<17.376171, 0, 17.376171>, 5.523801}
> sphere {<11.820286, 0, 28.536694>, 6.943161}
> sphere {<0.000000, 0, 38.824648>, 8.727230}
> sphere {<-18.675250, 0, 45.086041>, 10.969723}
> sphere {<-43.374150, 0, 43.374150>, 13.788432}
> sphere {<-71.232886, 0, 29.505628>, 17.331418}
> sphere {<-96.913531, 0, 0.000000>, 21.784787}
> sphere {<-112.543128, 0, -46.616890>, 27.382465}
> sphere {<-108.269931, 0, -108.269931>, 34.418486}
> sphere {<-73.651524, 0, -177.810508>, 43.262438}
> sphere {<6.961089, 0, -6.961089>, 2.212897}
> sphere {<11.432120, 0, -4.735339>, 2.781508}
> sphere {<-0.000000, 0, -6.230943>, 1.400628}
> sphere {<2.997179, 0, -7.235830>, 1.760524}
> sphere {<-2.496186, 0, 0.000000>, 0.561107} // was in SphereC1
> sphere {<-2.898755, 0, -1.200703>, 0.705286} // was in SphereC1
> sphere {<-2.788691, 0, -2.788691>, 0.886511} // was in SphereC1
> sphere {<-1.897030, 0, -4.579836>, 1.114303} // was in SphereC1
> }
> ----------------[END CODE EXCERPTS]----------------
Thanks for pointing this out. I've corrected my data. Awesome image BTW.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|
 |