POV-Ray : Newsgroups : povray.general : Semiregular pattern doodles : Re: Semiregular pattern doodles Server Time
20 May 2024 15:09:19 EDT (-0400)
  Re: Semiregular pattern doodles  
From: Bald Eagle
Date: 18 Jun 2023 18:00:00
Message: <web.648f7e5df1e842301f9dae3025979125@news.povray.org>
"Droj" <803### [at] drojde> wrote:

> that's what L-Systems is all about, at least what P. Prusinkiewicz has published
> about the growth of plants and trees
> (http://algorithmicbotany.org/papers/#abop).

I came across a thread a while back where someone was getting a tree to "grow"
towards the light from inside a gazebo-type structure.  Pretty interesting work.

> The syntax of L-Systems is 'alien' - to put it mildly - but to create patterns
> or simple branched trees or plants in 2D - that's the easy part of the game.
> The tough part and where I'm stuck now is to persuade Povray to produce
> something in 3D. That makes my tiny brain burn.

So don't think in Cartesian coordinates, think in polar.  Rather than "move
right by 4 units", think "rotate a 4-unit x vector around the z axis by N
degrees"
And then do another rotation around the y axis.
Remember "the surface of a sphere is 2D".
Latitude, longitude.  2 dimensions.


> @BE Sorry for misusing your threat to keep the L-Systems banners high.

Hah.  No worries.  We all try to build upon other foundations. Plus, some of my
best threads are hijacked ones.  :D

> Love your semiregular pattern doodles.

You have to check out shadertoy - they have mind-blowing stuff.

Also, I was just putzing around with the existing scene for a few minutes, and
changed the size control of the shape from a stepwise floor() function to direct
control by a scaled noise function.

Kinda looks like cubic raindrops fell and splashed - or something.

- BE


Post a reply to this message


Attachments:
Download 'random sized pattern 1.png' (190 KB)

Preview of image 'random sized pattern 1.png'
random sized pattern 1.png


 

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