[2.5] Galaxy generating script

For my galaxy project (see http://blenderartists.org/forum/showthread.php?p=1689943#post1689943 ), I made a script which takes all vertices in the selected mesh and rearranges them (because I don’t know how to add vertices :wink: in a galaxy-like shape. The code is based on
http://www.gamedev.net/reference/articles/article1337.asp
but improved further.

The files can be found at bitbucket
http://bitbucket.org/quiark/galaxy/src

Hope you find it useful!

thanks for such a cool script.

btw, you could look at the cloud gen script for adding points.
also look at the bolt factory script in recent builds to see how the init function is used.
keep up the great work. :slight_smile:

cool, this is the result from the supplied .blend
http://cdupload.com/files/153579_nmjl0/galaxy.jpg

Woah, pretty good. When i move over to 2.5 i’ll be sure to use it.