POV-Ray : Newsgroups : povray.binaries.animations : mini solar system (280kb mpg) : mini solar system (280kb mpg) Server Time
19 Jul 2024 21:37:15 EDT (-0400)
  mini solar system (280kb mpg)  
From: Mark James Lewin
Date: 11 Mar 2002 16:31:41
Message: <3C8D213F.F9725B77@yahoo.com.au>
Inspired by Draco's n-body system anims, I did a quick anim last night of such a
system using my user defined force code. This time, all of the particles are
attracted to one another, with the force proportional to (m1*m2)/(distance^2).  I
only used quick and dirty figures to get a result close to what I wanted. The sun
weighs about 20000 times more that the planets, so it pretty much stays put in
the centre. The planets orbiting an the x-z plane were made to have an almost
circular orbit, whilst the planet in the y-z plane has some ecentricity.
Comments, complaints, etc. always welcome.

MJL
--
prism{0,.1,30#local I=1;#while(I<30)#local B=asc(substr(// Mark James Lewin
"#K?U_u`V[RG>3<9DGPL.0EObkcPF'",I,1))-33;<div(B,10)-4mod(B,10)+5*div(I,21)-
6>#local I=I+1;#end,-4pigment{rgb 9}rotate-x*90translate 15*z}//POV-Ray 3.5


Post a reply to this message


Attachments:
Download 'solar.mpg' (280 KB)

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