Generate a star galaxy using logarithm methods