POV-Ray : Newsgroups : povray.binaries.images : Cylindrical pattern animation - how to get the circles/dots overlap : Re: Cylindrical pattern animation - how to get the circles/dots overlap Server Time
14 Jun 2026 04:10:17 EDT (-0400)
  Re: Cylindrical pattern animation - how to get the circles/dots overlap  
From: Jörg "Yadgar" Bleimann
Date: 13 Jun 2026 09:31:32
Message: <6a2d5bb4$1@news.povray.org>
Hi(gh)!

Am 13.06.26 um 13:57 schrieb Bald Eagle:

> Use a pigment_map. or a color_map.
> 
> In that case, you can even get rid of the select() statement.
> 
> The _maps do exactly that:  they map the output values of your function to
> colors, pigments, textures, normals, or materials.
> 
> color_map {
>    [ 0.0  rgb <0, 0, 0>]
>    [ 0.5  rgb <0, 0, 0>]
>    [ 0.5  rgb <1 ,1 ,1>]
>    [ 1.0  rgb <1 ,1 ,1>]
> }
> 
> Double entries at 0.5 give a hard transition.
> Now any value below 0.5 will be black, and any value above 0.5 will be white.

I tried this, but now I get rings rather than growing solid black dots, 
as you can see in the attachment (clock=20)!

See you in Khyberspace!

Yadgar




-- 
VBI BENE, IBI BACTRIA!


Post a reply to this message


Attachments:
Download 'baldeagle_test.png' (20 KB)

Preview of image 'baldeagle_test.png'
baldeagle_test.png


 

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