POV-Ray : Newsgroups : povray.off-topic : Random stuff : Re: Insanity [~400 KB] Server Time
29 Sep 2024 17:19:41 EDT (-0400)
  Re: Insanity [~400 KB]  
From: Orchid XP v8
Date: 4 May 2009 07:50:35
Message: <49fed68b$1@news.povray.org>
scott wrote:
>> For each pixel, initialise a particle to that starting point, and let 
>> it wander under the influence of the attractors in the system. (Three 
>> "magnets" plus a "string" force to simulate a gravitational pull 
>> towards the center.) Colour each pixel according to the current X, Y 
>> coordinates of the particle. (X = red, Y = green.)
> 
> Those images are really cool!

Thank you. :-D

> So let me get this straight, you colour 
> each pixel based on where the point that started at that pixel is at 
> that instant?

Yep, that's the one. Start a particle from each pixel, colour that pixel 
according to where the particle is now. (Using any arbitrary colouring 
algorithm you fancy.) You *could* use an image map, for example...

> Must be really cool to see it being animated.

Clearly I'll have to put the result on YouTube at some point. ;-)

> You could calculate the speed of each point, and assign that to the blue 
> channel :-)

Yeah, possibly. Or maybe add some white or something. Of course, when 
it's in motion, you can tell by how quickly each point changes colour.

-- 
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*


Post a reply to this message

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