|
 |
Based on: https://paulbourke.net/fractals/bioblob/
Done, by brute force, in Nim. The program exports a POV-Ray scene with spheres
or in include file with an array of arrays array[6]{centerX, centerY, centerZ,
radius, parent, generation}, of whitch the skeleton is made.
Now working slowly on speed improvement (R-TreeD?) and ideas to influce the
growth. Wind, gravity, interaction with a container o other growths (forrest(?)
ingo
Post a reply to this message
Attachments:
Download 'organic_growth.png' (220 KB)
Preview of image 'organic_growth.png'

|
 |
|
 |
"ingo" <nomail@nomail> wrote:
> Based on: https://paulbourke.net/fractals/bioblob/
> Now working slowly on speed improvement (R-TreeD?)
The R-Tree3D works:
spheretests is how many new spheres it tried to place.\
placementTest is the amount of sphere sphere intersection tests. A child sphere
should only intersect with its parent. the Tree makes quite a difference here
(bioform_fast.exe)
Growth completed!
spheretests: 505272
placementTest: 862246212
Generated form with 3987 spheres in (seconds: 10, nanosecond: 788967400) seconds
Generated form with 3987 spheres
Growth completed!
spheretests: 505272
placementTest: 698954
Generated form with 3987 spheres in (seconds: 0, nanosecond: 724209700) seconds
Growth completed!
spheretests: 2145742
placementTest: 7425716000
Generated form with 8549 spheres in (seconds: 90, nanosecond: 923840900) seconds
Generated form with 8549 spheres
Growth completed!
spheretests: 2145742
placementTest: 3126979
Generated form with 8549 spheres in (seconds: 4, nanosecond: 403382400) seconds
ingo
Post a reply to this message
|
 |
|
 |
"ingo" <nomail@nomail> wrote:
> "ingo" <nomail@nomail> wrote:
> > Based on: https://paulbourke.net/fractals/bioblob/
Nice composition, wouldn't a higher threshold give the blobs a less artificial,
more organic look? maybe not your goal? but the blur goes in that direction.
Curious about your use of Nim for that. was it pure pleasure, or did bring the
feeling of holding a spoon with chopsticks?
Post a reply to this message
|
 |