POV-Ray : Newsgroups : povray.binaries.images : Interesting radial pattern : Re: Interesting radial pattern Server Time
20 May 2024 05:48:35 EDT (-0400)
  Re: Interesting radial pattern  
From: And
Date: 12 Sep 2023 10:50:00
Message: <web.65007a6d53ff64f663eb3dfdaa81652d@news.povray.org>
"Bald Eagle" <cre### [at] netscapenet> wrote:
> I was off coding some experimental patterns, and came across this one by
> accident.
>
> This looke dlike one of those things that one would probably look for, and maybe
> ought be in the distribution.
>
> #version 3.8;
> global_settings {assumed_gamma 1.0}
> default {finish {diffuse 1}}
>
> //#include "functions.inc"
>
> camera {
>  location <0, 0, -20>
>  right     x*image_width/image_height
>  up y
>  look_at <0, 0, 0>
>
> }
>
> light_source {<0,  0, -50> rgb 1.0}
> sky_sphere {pigment {rgb 1}}
>
> #declare fmod = function (T) {select (T, 1-mod(abs(T),1), mod(abs(T),1))}
> #declare AngFreq = 7;
> #declare Ang = function {atan2 (x, y)/(tau/AngFreq)}
> #declare Ang2 = function {fmod (Ang(x, y, z))}
> #declare Rad = function {sqrt (x*x+y*y)}
>
> #declare Mixed = function {Rad (x,y,z) * Ang2(x,y,z)}
>
> plane {z, 0 pigment {function {Mixed(x, y, z)} } }

if you can explain why it seems that way?


Post a reply to this message

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