Re: gravity simulator - initial galaxy positions
- From: Gerald Kaszuba <nospam@xxxxxxxxxx>
- Date: Sat, 28 May 2005 14:06:39 +1000
Greg Neill wrote:
"Gerald Kaszuba" <nospam@xxxxxxxxxx> wrote in message news:42953615$1@xxxxxxxxxxxxxxxxxxxxxxxxx
How can I rotate the galaxy to not be fixed to a plane, but a random angle?
You could generate it "on the Z plane" as you say, and then apply
Woops! I meant the XY plane.
a coordinate rotation to each point to rotate the body to some arbitrary orientation. Google coordinate rotation.
That did it, thanks.
Gerald .
- References:
- gravity simulator - initial galaxy positions
- From: Gerald Kaszuba
- Re: gravity simulator - initial galaxy positions
- From: Greg Neill
- gravity simulator - initial galaxy positions
- Prev by Date: Re: kookdancers digest
- Next by Date: Simple orbit formula?
- Previous by thread: Re: gravity simulator - initial galaxy positions
- Next by thread: 100-meg For $60.00
- Index(es):