I had some hesitation, I don't know really where post this message (since the
picture was calculated under Povray).
It is about a brownian motion without random numbers, during some graphics
programming tries I have found a method to obtain a brownian motion without
random numbers. I explain with a little algorithm:
x = 1.0
y = 1.0
z = 1.0
d = 3.6
i = 0
iter = 5000 // number of particles //
while (i<iter)
xnew = x + cos(z*dt)
ynew = y + sin(z*dt)
znew = z - (x*y*dt)
plot(<xnew,ynew>)
x = xnew
y = ynew
z = znew
endwhile
I am not a mathematician, I just use some mathematicals tools for my hobby.
Lionel.
--
Do not judge my words, judge my actions.
Post a reply to this message
Attachments:
Download 'brownian_motion.jpg' (75 KB)
Preview of image 'brownian_motion.jpg'
![brownian_motion.jpg](/povray.binaries.images/attachment/%3Cweb.52fbc2c5eafa50f8b6efa46c0%40news.povray.org%3E/brownian_motion.jpg?preview=1)
|