POV-Ray : Newsgroups : povray.binaries.images : A radial pattern contains randomize(bump) : Re: A radial pattern contains randomize(bump) Server Time22 Sep 2023 03:55:00 EDT (-0400)
 Re: A radial pattern contains randomize(bump)
 From: Bald Eagle Date: 29 Aug 2023 06:55:00 Message:
```
{
"@context": "https://schema.org",
"@type": "DiscussionForumPosting",
"@id": "#web.64edce6a24fd44d91f9dae3025979125%40news.povray.org",
"headline": "Re: A radial pattern contains randomize(bump)",
"dateCreated": "2023-08-29T10:55:00+00:00",
"datePublished": "2023-08-29T10:55:00+00:00",
"author": {
"@type": "Person",
"name": "Bald Eagle"
}
}
"And" <49341109@ntnu.edu.tw> wrote:

> I'm looking for patterns which have random characteristic(like bump), but I need
> apply it to associate 0~360 degree(angular), because that is a not completed yet
> challenge for me.

OK, I ran a few more experiments and came up with the attached.

#declare Rad = function {sqrt (x*x+y*y)}
#declare S = 0.5;
#declare W5 = function {Ang (x, y, z) * sin (Rad(x,y,z)*tau/RadFreq)*f_noise3d
(x/S, y/S, z)}

I hope that's more like what you want.

> In fact, I know your W2 function have a seam... I have tried your (W2) method
> when I started coding the macro for my wood generator program last year. So I
> exchange it by a array value - function that time.

Yeah - I've noticed a radial asymmetry and a seam as well - I'll try to think
about a way to not have any discontinuities.

- BE
```

Attachments:
Download 'radialfunctions.png' (199 KB)

Preview of image 'radialfunctions.png'