POV-Ray : Newsgroups : povray.binaries.animations : Sierpinski Surprise (560 KB) : Re: Sierpinski Surprise (560 KB) Server Time
18 Jul 2024 18:24:11 EDT (-0400)
  Re: Sierpinski Surprise (560 KB)  
From: Timon Christl
Date: 23 Feb 2004 11:49:27
Message: <403a2f17$1@news.povray.org>
Andrew C on Mozilla wrote:
> I really wanna try this with *lots* of different IFS's... I don't know 
> if you've seen it, but on my copy of RedHat there was an IFS 
> screensaver. Seems to be able to draw random IFS's in realtime => very 
> impressive! (That's gotta take some SERIOUS CPU time...)

Actually no. I'm sorry if I destroy an illusion, but apparently this 
screensaver precalculates the IFS once, then draws it in various sizes 
and rotations, and with varying angles for the branches. This can be 
done very efficiently with matrices, and the drawing itself is just a a 
matter of setting a few pixels to a color.

On the box where I'm sitting now (Fedora Core 1.0 on an Athlon 800) the 
system load doesn't go up by more than perhaps 1% when this screensaver 
is started.

-- 
(defun f(p x)(If(Eq x nil)nil(If(p(Car x))(Cons(Car x)(f p(Cdr x)))(f p
(Cdr x)))))(defun q(x)(Q nil x))(defun Q(a x)(If(Eq x nil)a(Q(Cons(Car
x)(Q a(f(Lt(Car x))(Cdr x))))(f(Gt(Car x))(Cdr x)))))


Post a reply to this message

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