POV-Ray : Newsgroups : povray.binaries.images : yin-yang : yin-yang Server Time
15 Aug 2024 02:28:07 EDT (-0400)
  yin-yang  
From: Tek
Date: 9 Aug 2002 22:10:32
Message: <3d547618@news.povray.org>
This is based on the same function I used in my posting on p.b.a. I just thought
it was interesting to see the underlying function.

function.jpg shows the value actually returned by my yin-yang function, i.e. it
uses colour_map { [0 rgb 0][1 rgb 1] }

yin-yang.gif is the same function, but using colour_map { [0.5 rgb 0][0.5 rgb
1] }

And, just for fun, outline.gif shows what happens if you pick some more complex
colour_maps.

The source is pretty simple, I'll post it if anyone wants it.

Comment, questions, etc.?
P.S. can anyone think of a use for this, or have I just spent 2 hours doing
something pointless? ;)

--
Tek
http://www.evilsuperbrain.com


Post a reply to this message


Attachments:
Download 'function.jpg' (10 KB) Download 'yin-yang.gif' (5 KB) Download 'outline.gif' (12 KB)

Preview of image 'function.jpg'
function.jpg

Preview of image 'yin-yang.gif'
yin-yang.gif

Preview of image 'outline.gif'
outline.gif


 

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