From: symion <sy...@pr...> - 2008-12-21 13:19:48
|
The following program, stars-5.py <http://home.primusonline.com.au/knoware/python/stars-5.py> is a simulation of Globular cluster Messier 80, using the new points object. It produces a huge volume of space with almost 6000 points. (you have to zoom in and in... to find the black hole at the centre) Pressing the Enter Key will select a specific 'star' that you can zoom toward to see it as a glowing disk. The position of each star is determined by the individual position of each point in the points(pos array), and I have found a strange effect. The stars near the outer edge of the cluster have a distinct wobble when spinning around them, apparently the position of each point becomes more unstable as you zoom in toward its limit and so the star wobbles! Apart from that the simulation looks close to Messier 80 <http://en.wikipedia.org/wiki/Globular_cluster> Symion |