POV-Ray : Newsgroups : povray.binaries.images : nonperiodic contours : nonperiodic contours Server Time
16 Aug 2024 16:20:31 EDT (-0400)
  nonperiodic contours  
From: Anton Sherwood
Date: 17 Jan 2002 15:35:11
Message: <3C47378F.3AEE72C0@pobox.com>
I was browsing a collection of links about non-photorealistic rendering 
and got this idea.

#declare tau = (1+sqrt(5))/2;
#declare F0 = function {
	pigment { marble color_map { [0 rgb 0] [1 rgb 1] } }
        }
#declare F1 = function {
        pigment {
                marble color_map { [0 rgb 0] [1 rgb 1] }
                scale tau-1
                }
        }
#declare taumarble = function { (F0+F1)/2 }

Because tau is irrational (in a sense the most irrational number), the
pattern never repeats.

In the first image it's a bit turbled.


...those links: http://www.red3d.com/cwr/npr/
see especially http://www.algorithmic.com/gallery_e.html

-- 
Anton Sherwood  --  http://www.ogre.nu/


Post a reply to this message


Attachments:
Download 'marbknot.jpg' (14 KB) Download 'marbknot1.jpg' (14 KB)

Preview of image 'marbknot.jpg'
marbknot.jpg

Preview of image 'marbknot1.jpg'
marbknot1.jpg


 

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