POV-Ray : Newsgroups : povray.general : Semiregular pattern doodles : Semiregular pattern doodles Server Time
21 Feb 2024 22:18:57 EST (-0500)
  Semiregular pattern doodles  
From: Bald Eagle
Date: 16 Jun 2023 20:40:00
Message: <web.648d0034448c7c221f9dae3025979125@news.povray.org>
RL has had me wrapped up in a bunch of things, some very good, some very bad -
but to kick back and relax, I was looking through some search results for videos
to entertain/inspire, and I came across an introductory Shadertoy video where
they make a grid of circles of random sizes.

I didn't think we had a simple and obvious way of already doing this, so I made
some disks, circles, filled squares, and hollow squares.

There are lots of other distance functions to choose from, to make other basic
shapes.
https://iquilezles.org/articles/distfunctions2d/

The shape size is currently controlled by f_noise3d, but I suppose just about
any function could be used to control the size.

It's also likely that other functions could be used to modulate the actual
shape, and with a bit (a lot) more work, this could generate some interesting
isosurfaces.  Certainly some nice height fields.

Might make the basis for a greeble texture, a cityscape, or any other number of
things, esp if implemented in 3D.


Just thought I'd share this little doodle.


Post a reply to this message


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

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


 

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