POV-Ray : Newsgroups : povray.advanced-users : Making Patterns with functions Server Time
21 Nov 2024 23:51:54 EST (-0500)
  Making Patterns with functions (Message 21 to 30 of 46)  
<<< Previous 10 Messages Goto Latest 10 Messages Next 10 Messages >>>
From: Bald Eagle
Subject: Re: Making Patterns with functions
Date: 13 Feb 2024 22:25:00
Message: <web.65cc3266d81b84791f9dae3025979125@news.povray.org>
This one's sort of like dice.

mod (floor(x)+floor(y), 2) somehow is NOT the same as even (floor(x)+floor(y))

IIRC, Bill Pokorny mentioned something about how floor isn't quite "right".

anyway, this is the last one for the night.

- BW


Post a reply to this message


Attachments:
Download 'mathpatterns1.png' (145 KB)

Preview of image 'mathpatterns1.png'
mathpatterns1.png


 

From: kurtz le pirate
Subject: Re: Making Patterns with functions
Date: 14 Feb 2024 03:59:04
Message: <65cc80d8$1@news.povray.org>
On 13/02/2024 00:46, Bald Eagle wrote:
> Hopefully we can get a few new patterns posted in this thread, and I'm going to
> try to post at least one new pattern a week, to keep some momentum going.



Excellent work! Congratulations

-- 
Kurtz le pirate
Compagnie de la Banquise


Post a reply to this message

From: William F Pokorny
Subject: Re: Making Patterns with functions
Date: 14 Feb 2024 07:19:14
Message: <65ccafc2$1@news.povray.org>
On 2/13/24 21:03, Bald Eagle wrote:
> Here's one to torture your eyes.  :P

It does dance around! :-)

Bill P.


Post a reply to this message

From: William F Pokorny
Subject: Re: Making Patterns with functions
Date: 14 Feb 2024 07:29:09
Message: <65ccb215$1@news.povray.org>
On 2/13/24 22:24, Bald Eagle wrote:
> IIRC, Bill Pokorny mentioned something about how floor isn't quite "right".

IICRC... Rings a bell.

With yuqk, I do remember changing the code which creates the 0-1 ramp 
wave - in official POV-Ray there is some hard coded magic which 
sometimes causes trouble if one hits the right (wrong) values.

There is too some hard code clamping of values coming from functions 
into the pattern mechanism that I removed. However, this bit, from your 
results, I would say you are already avoiding. (That you are limiting 
your function() values into the pattern mechanism to 0-1 or >0.0 ranges)

Bill P.


Post a reply to this message

From: Alain Martel
Subject: Re: Making Patterns with functions
Date: 14 Feb 2024 09:47:19
Message: <65ccd277$1@news.povray.org>
Le 2024-02-13 à 21:03, Bald Eagle a écrit :
> Here's one to torture your eyes.  :P
It moves.
There are colour spots popping everywhere.
It shakes.


Post a reply to this message

From: Alain Martel
Subject: Re: Making Patterns with functions
Date: 14 Feb 2024 09:48:33
Message: <65ccd2c1$1@news.povray.org>
Le 2024-02-13 à 22:24, Bald Eagle a écrit :
> This one's sort of like dice.
> 
> mod (floor(x)+floor(y), 2) somehow is NOT the same as even (floor(x)+floor(y))
> 
> IIRC, Bill Pokorny mentioned something about how floor isn't quite "right".
> 
> anyway, this is the last one for the night.
> 
> - BW
Another that play tricks with your eyes...


Post a reply to this message

From: Bald Eagle
Subject: Re: Making Patterns with functions
Date: 14 Feb 2024 20:50:00
Message: <web.65cd6cdcd81b84791f9dae3025979125@news.povray.org>
This is very similar in concept to the Voronoi pattern, and indeed, if the
"annular rings" are fine enough, one gets the visual impression of Voronoi cells
filled with a concentric ring pattern.

I just did this for fun, to illustrate a practical pattern to use for ripples in
water, malachite, rhodochrosite, wood, "jawbreaker" candies, etc, and to
implement an example that makes use of splines, loops, pseudorandom numbers, and
a discrete set of "basis functions" that are evaluated "en-masse".

Enjoy the "bubbles".

(Speaking of which, this could be a fun one to apply iridescence to...)

I'd have to think about how to vary the "radius" of each seed point, and then
apply the true bubble intersection formula to get a nice foam cross-section.
Foam isosurface, anyone?

- BE


Post a reply to this message


Attachments:
Download 'mathpatterns1.png' (704 KB)

Preview of image 'mathpatterns1.png'
mathpatterns1.png


 

From: Bald Eagle
Subject: Re: Making Patterns with functions
Date: 19 Aug 2024 19:45:00
Message: <web.66c3d8a8d81b84791f9dae3025979125@news.povray.org>
Triply Periodic Minimal Surface

left - open
right - closed
plane - pigment {function {TPMS}}

This one is called "SplitP"


Post a reply to this message


Attachments:
Download 'implicitlattice.png' (711 KB)

Preview of image 'implicitlattice.png'
implicitlattice.png


 

From: jr
Subject: Re: Making Patterns with functions
Date: 20 Aug 2024 01:40:00
Message: <web.66c42b6cd81b8479c7a7971d6cde94f1@news.povray.org>
hi,

"Bald Eagle" <cre### [at] netscapenet> wrote:
> ...
> plane - pigment {function {TPMS}}

v nice.  I bet it would be "lush" as a woven fabric/cloth.

(light-green with envy :-))


regards, jr.


Post a reply to this message

From: Bald Eagle
Subject: Re: Making Patterns with functions
Date: 20 Aug 2024 08:15:00
Message: <web.66c48845d81b8479a2cb7a7025979125@news.povray.org>
"jr" <cre### [at] gmailcom> wrote:

> v nice.  I bet it would be "lush" as a woven fabric/cloth.

There's a better one for that, I think - the "Honeycomb" that I found in a
paper.
Kinda looks like a "dog bone" wood patch that alternates in directions like a
checkerboard.

A lot of these are, incidentally, used for support-fill for 3D printing
applications - so Kenneth may have a very practical interest.

Since they can partition space into 2 parts acting as a membrane in between,
when they are given thickness and made of metal, they are being evaluated as
heat-transfer devices, very much like a car radiator works.
The key factor being the very high surface area able to be contained in a very
small space.

> (light-green with envy :-))

You shouldn't be.  You can copy-paste equations as well as I can.  :P

- BW


Post a reply to this message

<<< Previous 10 Messages Goto Latest 10 Messages Next 10 Messages >>>

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