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](/povray.binaries.images/attachment/%3C3C47378F.3AEE72C0%40pobox.com%3E/marbknot.jpg?preview=1)
Preview of image 'marbknot1.jpg'
![marbknot1.jpg](/povray.binaries.images/attachment/%3C3C47378F.3AEE72C0%40pobox.com%3E/marbknot1.jpg?preview=1)
|