POV-Ray : Newsgroups : povray.binaries.animations : mini solar system (280kb mpg) Server Time
19 Jul 2024 19:21:49 EDT (-0400)
  mini solar system (280kb mpg) (Message 1 to 5 of 5)  
From: Mark James Lewin
Subject: mini solar system (280kb mpg)
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)

From: Zeger Knaepen
Subject: Re: mini solar system (280kb mpg)
Date: 11 Mar 2002 19:21:27
Message: <3c8d4a07@news.povray.org>
> 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.
Just let it run for a couple of minutes, I'm sure there will be not much left of
your solar system :-/

Nice animation btw!

cu!
--
camera{location-z*3}#macro G(b,e)b+(e-b)*(C/50)#end#macro L(b,e,k,l)#local C=0
;#while(C<50)sphere{G(b,e),.1pigment{rgb G(k,l)}finish{ambient 1}}#local C=C+1
;#end#end L(y-x,y,x,x+y)L(y,-x-y,x+y,y)L(-x-y,-y,y,y+z)L(-y,y,y+z,x+y)L(0,x+y,
<.5,1,.5>,x)L(0,x-y,<.5,1,.5>,x)               // ZK http://www.povplace.be.tf


Post a reply to this message

From: Mark James Lewin
Subject: Re: mini solar system (280kb mpg)
Date: 12 Mar 2002 00:04:16
Message: <3C8D8B66.3828A231@yahoo.com.au>
Zeger Knaepen wrote:

> Nice animation btw!

Thanks!

MJL

--
text{ttf"timrom.ttf"concat(#local O=1;#while(O<7)chr(val(substr(concat(#local Q=
1;#while(Q<7)str(asc(substr("???<?>",Q,1))-56,0,0),#local Q=Q+1;#end""),O,2))),#
local O=O+2;#end"").1,0pigment{rgb 9}translate-<1,.3,-2>} // MJL


Post a reply to this message

From:
Subject: Re: mini solar system (280kb mpg)
Date: 12 Mar 2002 02:51:30
Message: <3c8db382$1@news.povray.org>
looks nice. just add some effects as described in the theory of relativity
 e.g. rotation of perihelium of mercury) and set the time step to 0 to be
accurate enough *gg*

well done

regards
SY


Post a reply to this message

From: Mark James Lewin
Subject: Re: mini solar system (280kb mpg)
Date: 13 Mar 2002 15:57:59
Message: <3C8FBC7F.94E76EE3@yahoo.com.au>
Thakns!

MJL



> looks nice. just add some effects as described in the theory of relativity
>  e.g. rotation of perihelium of mercury) and set the time step to 0 to be
> accurate enough *gg*
>
> well done
>
> regards
> SY


Post a reply to this message

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