POV-Ray : Newsgroups : povray.advanced-users : Making Patterns with functions Server Time
21 Dec 2024 22:22:03 EST (-0500)
  Making Patterns with functions (Message 17 to 26 of 48)  
<<< Previous 10 Messages Goto Latest 10 Messages Next 10 Messages >>>
From: Bald Eagle
Subject: Re: Making Patterns with functions
Date: 13 Feb 2024 18:20:00
Message: <web.65cbf809d81b84791f9dae3025979125@news.povray.org>
Neat grid pattern.


Post a reply to this message


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

Preview of image 'mathpatterns1.png'
mathpatterns1.png


 

From: Tor Olav Kristensen
Subject: Re: Making Patterns with functions
Date: 13 Feb 2024 20:00:00
Message: <web.65cc1037d81b8479f673154389db30a9@news.povray.org>
"Bald Eagle" <cre### [at] netscapenet> wrote:
> "Bald Eagle" <cre### [at] netscapenet> wrote:
> > I'm going to try to post at least one new pattern a week, to keep some momentum
going.

I like this one.

It seems like you're getting pretty good at this.

--
Tor Olav
http://subcube.com
https://github.com/t-o-k


Post a reply to this message

From: Bald Eagle
Subject: Re: Making Patterns with functions
Date: 13 Feb 2024 20:55:00
Message: <web.65cc1c56d81b84791f9dae3025979125@news.povray.org>
"Tor Olav Kristensen" <tor### [at] TOBEREMOVEDgmailcom> wrote:

> I like this one.

I do too, which is why I posted it.
It brought to mind the vintage Corelle plate rim pattern. (attached)

> It seems like you're getting pretty good at this.

I'm getting a bit better at finding interesting patterns and translating them
from other languages/syntaxes.

I still have a devil of a time with some of them.
Some I can't get to work at all, especially if I have to make lines, use x and y
at the same time, or try to make a parametric function based on atan2(y, x).

I'm also trying to figure out why sometimes I only get a partial pattern.
But they _are_ more than formless grayscale vomit, so there is definitely some
progress.

When I understand WHY things work or don't, and know enough to fix them, then I
will be lots better.

When I can invent such functions on my own, then I will be good.

But that was half of the goal of this - to try implementing so many functions
that eventually I found changes that worked, and could be applied to others that
failed, and iteratively get better.

I'm almost at 200 functions, and at some point I'll have (temporarily) run out
of patterns to copy, and can start investigating variations and combinations.

There also seems to be various common methods for making patterns, and perhaps I
can distill them all down into several macros to make rendering each method a
little easier.

Thank you as always for your interest, tutelage, and encouragement.  :)
- BW


Post a reply to this message


Attachments:
Download 'p0000016777s000000469617t1.jpg' (81 KB)

Preview of image 'p0000016777s000000469617t1.jpg'
p0000016777s000000469617t1.jpg


 

From: Bald Eagle
Subject: Re: Making Patterns with functions
Date: 13 Feb 2024 21:05:00
Message: <web.65cc1f5ed81b84791f9dae3025979125@news.povray.org>
Here's one to torture your eyes.  :P


Post a reply to this message


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

Preview of image 'mathpatterns1.png'
mathpatterns1.png


 

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

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

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