Jump to content

Unsatisfied with assuming control of the galaxy, I have assumed control of the entire blasted universe.

Recommended Posts

Some of you may recall the galaxy simulation I was working on a while back. Since then I've made improvements to it and also created an in-browser infinite procedural universe.


The simulation uses 3D infinite Worley / Voronoi noise and a pseudorandom number generator (a la Minecraft) to produce an unlimited (other than engine limitations) number of procedural galaxies, laid out in a similar pattern to the large-scale structure of the real universe:

SJwZmiMl.png maxresdefault.jpg

Long story short, I just thought I ought to share this with my buddies on this forum and perhaps get some feedback. I'm not currently working on an "official" game involving this at the moment (too busy with other stuff), and I am aware that Space Engine exists, but hopefully this still counts as share-worthy.

LINK: https://dl.dropboxusercontent.com/u/13276416/Unity/CellNoiseUniverseTestGL/index.html

Edited by parameciumkid
Am I the only one for whom the post editor has started seriously bugging out?
Link to post
Share on other sites

Does it simulates out of Friedmann equation ? Can it simulates a tiny patch of the Big Bang ?

No, you're not alone, especially on mobile. BB codes worked better.


Link to post
Share on other sites
10 hours ago, YNM said:

Does it simulates out of Friedmann equation ? Can it simulates a tiny patch of the Big Bang ?


1. Yes, in practice, although the equation per se isn't in the code anywhere. The universe, as you'll find if you fly far enough, is homogeneous on the very large scale in accordance with the Cosmological Principle.

2. No. At least not yet. I considered trying to animate the galaxy sprites expanding outward from a central point, but as there are tens of thousands of them, it would be difficult to process them all while maintaining a halfway decent framerate. There's also a rendering bottleneck that occurs when too many sprites appear on top of each other or take up a lot of screen space, both of which are bound to happen if I tried simulating a big bang. I might look into it though, next time I'm bored and have some time to kill ;)

Link to post
Share on other sites

^ Yes, I might indeed. Props for noticing what was going on.
The galaxies are layered particle systems controlled by a script of my own design, which shapes and animates them based on density wave theory. There's two systems for clouds (one for big clouds and one for small) and one for stars in each galaxy.
More information can be found in this imgur album: http://imgur.com/a/NCEdI

Link to post
Share on other sites
This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...