{"id":3713,"date":"2019-06-07T15:09:50","date_gmt":"2019-06-07T22:09:50","guid":{"rendered":"http:\/\/universesandbox.com\/blog\/?p=3713"},"modified":"2021-05-20T11:32:11","modified_gmt":"2021-05-20T18:32:11","slug":"galaxies-grids-status-5","status":"publish","type":"post","link":"https:\/\/universesandbox.com\/blog\/2019\/06\/galaxies-grids-status-5\/","title":{"rendered":"Galaxies &#038; Grids | Dev Update #5"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i.imgur.com\/CyUCIXs.gif\" width=\"650\" height=\"366\"><\/p>\n<p><span style=\"font-weight: 400;\">For this developer update, we\u2019re going to take a little break from looking at our work on Surface Grids &amp; Lasers to turn our attention on the upcoming new galaxies (these are a work-in-progress and are not yet available in Universe Sandbox). <\/span><\/p>\n<p><span style=\"font-weight: 400;\">You can check out <\/span><a href=\"https:\/\/universesandbox.com\/blog\/2019\/04\/whats-next-spring-2019\/\"><span style=\"font-weight: 400;\">Dev Update #1<\/span><\/a><span style=\"font-weight: 400;\">, <\/span><a href=\"https:\/\/universesandbox.com\/blog\/2019\/04\/surface-grids-status-2\/\"><span style=\"font-weight: 400;\">Dev Update #2<\/span><\/a><span style=\"font-weight: 400;\">, <\/span><a href=\"https:\/\/universesandbox.com\/blog\/2019\/05\/surface-grids-status-3\/\"><span style=\"font-weight: 400;\">Dev Update #3<\/span><\/a><span style=\"font-weight: 400;\">, and <\/span><a href=\"https:\/\/universesandbox.com\/blog\/2019\/05\/surface-grids-status-4\/\"><span style=\"font-weight: 400;\">Dev Update #4<\/span><\/a><span style=\"font-weight: 400;\"> for a more in-depth look at Surface Grids &amp; Lasers.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Keep in mind this is a development log for work-in-progress features. Anything discussed or shown may not be representative of the final release states for these features.<\/span><\/p>\n<p>&nbsp;<\/p>\n<h2><b>A Whole New World (of Galaxies)<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">We\u2019ve been saying for a while now &#8212; and the community has been making sure to regularly remind us &#8212; that the state of galaxies in Universe Sandbox has not been so good. There was a pretty good looking preset simulation for a Milky Way &amp; Andromeda Collision, but when it came to adding any type of galaxy to another simulation, you were left wondering why they all looked like the same amorphous blob, why they were difficult to work with, and what exactly all those red dots were. <\/span><\/p>\n<p><span style=\"font-weight: 400;\">Case in point, here\u2019s a Milky Way added to a simulation with the old galaxies:<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i.imgur.com\/t66J8jI.gif\" width=\"650\" height=\"366\"><\/p>\n<p><span style=\"font-weight: 400;\">And here\u2019s a new Milky Way:<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i.imgur.com\/XDDxx1b.gif\" width=\"650\" height=\"366\"><\/p>\n<p><span style=\"font-weight: 400;\">We hope you agree this is a massive visual improvement. But there\u2019s more than just beautification happening. Here are the major parts that make up the new galaxies:<\/span><\/p>\n<p><strong>1. Black holes &amp; nebulae<\/strong><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">A galaxy is a combination of a black hole and a number of surrounding nebulae (each of which represents a group of stars)<\/span><\/li>\n<\/ul>\n<p><strong>2. Individual, editable properties<\/strong><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Select and edit properties for black holes, individual nebulae, or the whole galaxy<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Each includes typical object properties like mass, radius, rotation, position, velocity, etc.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Unique whole galaxy properties include galaxy type (elliptical, spiral, and irregular), elliptical B\/A ratio, spiral number of arms, and pitch angle<\/span><\/li>\n<\/ul>\n<p><strong>3. Accurate motion<\/strong><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Orbital elements of the nebulae are set by galaxy type and determine overall motion<\/span>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Nebulae positions and velocities change as galaxy type and type-related properties (B\/A ratio, pitch angle, etc) are edited<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Galaxies in isolation will retain proper motion and shape over time<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Galaxies perturbed by massive bodies (like another galaxy or an isolated, supermassive black hole) become irregular type galaxies<\/span><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><strong>4. Data-driven visuals<\/strong><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Nebulae have a Gas Fraction property that represents the ratio of gas (the material available for making stars) to stars as well as an average temperature property<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Combined, these properties result in red\/yellow elliptical galaxies, bluer spiral arms, and a visible increase in blue star production in colliding galaxies<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Nebulae also have a Dust Fraction property that represents the ratio of dust (opaque material) to gas and stars (luminous material); dust traces spiral arms and blocks light from the galaxy when viewed edge-on<\/span><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i.imgur.com\/1sQ455u.gif\" width=\"650\" height=\"366\"><\/p>\n<p><span style=\"font-size: xx-small;\">GIF: Editable properties and the different visuals for different types of galaxies.<\/span><\/p>\n<p><strong>5. Procedural generation<\/strong><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Create a randomly generated spiral galaxy, elliptical galaxy, or irregular galaxy<\/span><\/li>\n<\/ul>\n<p><strong>6. Support for trails &amp; orbits<\/strong><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Show trails or orbits for individual nebulae, which provides insight into realistic galaxy motion<\/span><\/li>\n<\/ul>\n<p><strong>7. No more dark matter<\/strong><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Proper dark matter simulation is very complicated and we weren\u2019t satisfied with its implementation in our last galaxy model<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">In the future we\u2019ll have a more in-depth explanation of this in a blog post from Erika, Universe Sandbox astrophysicist and developer behind the new galaxies<\/span><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-3723\" src=\"https:\/\/universesandbox.com\/blog\/wp-content\/uploads\/2019\/06\/Galaxies-Dev-Update-Variety-650x366.png\" alt=\"\" width=\"650\" height=\"366\" srcset=\"https:\/\/universesandbox.com\/blog\/wp-content\/uploads\/2019\/06\/Galaxies-Dev-Update-Variety-650x366.png 650w, https:\/\/universesandbox.com\/blog\/wp-content\/uploads\/2019\/06\/Galaxies-Dev-Update-Variety-300x169.png 300w, https:\/\/universesandbox.com\/blog\/wp-content\/uploads\/2019\/06\/Galaxies-Dev-Update-Variety-768x432.png 768w\" sizes=\"auto, (max-width: 650px) 100vw, 650px\" \/><br \/>\n<span style=\"font-size: xx-small;\">Image: A collection of randomly generated spiral, elliptical, and irregular galaxies.<\/span><\/p>\n<p>&nbsp;<\/p>\n<h2><b>The Future of Galaxies<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">We\u2019re very happy with the status of galaxies right now. Before we can release them, there are some minor changes we need to make with the interface and other miscellaneous areas around the edges, and we still need a round or three of testing and bug fixes. But the simulation itself is in great shape. <\/span><\/p>\n<p><span style=\"font-weight: 400;\">When it comes to simulation features in Universe Sandbox, though, we almost never consider them a done deal. There are always improvements we have in mind for making them more realistic, performant, and fun to experiment with. <\/span><\/p>\n<p><span style=\"font-weight: 400;\">After the initial release of these new galaxies we\u2019ll likely take a break from them for a bit. But here are some improvements and additions we\u2019d love to explore more in the future:<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400;\"><a href=\"https:\/\/en.wikipedia.org\/wiki\/Barred_spiral_galaxy\"><span style=\"font-weight: 400;\">Barred spiral galaxies<\/span><\/a><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Visual representation of accurately-timed <\/span><a href=\"https:\/\/www.youtube.com\/watch?v=pOxG4aSQOO8&amp;feature=youtu.be&amp;t=79\"><span style=\"font-weight: 400;\">supernova flashes<\/span><\/a><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Values to show estimated numbers of stars in nebulae and total values in galaxy groups<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Randomization parameters for more \u201cnatural-looking\u201d galaxies<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Run as fluid\/SPH (smoothed-particle hydrodynamics) simulation <\/span><\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<h2><b>Surface Grids Sidebar<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">We\u2019re hyped on galaxies and hope you are, too. Fingers crossed that the last stretch of finishing out this feature goes smoothly and quickly! <\/span><\/p>\n<p>But of course, we\u2019re also still working on Surface Grids &amp; Lasers, so here\u2019s a small update on those features:<\/p>\n<p><span style=\"font-weight: 400;\">Chris has been working on the saving and loading system for Surface Grids. This is a little less straightforward than it had been for saving and loading objects and simulations, due to the sheer amount of data that can be included with a lot of objects using the new Grids system. <\/span><\/p>\n<p><span style=\"font-weight: 400;\">Jenn has continued with making an accurate water vapor model, with the challenge of creating this accurately and performatively without single-handedly developing Weather Simulator 2020. <\/span><\/p>\n<p><span style=\"font-weight: 400;\">Georg has been applying his shader magic to galaxies and helping with proper rendering for <\/span><a href=\"https:\/\/universesandbox.com\/blog\/2019\/04\/magic-leap\/\"><span style=\"font-weight: 400;\">Universe Sandbox on Magic Leap<\/span><\/a><span style=\"font-weight: 400;\">. Now that the graphics work for both of those are mostly finished, he\u2019s got his eye on Surface Grids again as he continues to shape water data and heightmaps to get nice looking coastlines on Earth and other planets. <\/span><\/p>\n<p><span style=\"font-weight: 400;\">Stay tuned for another announcement about an opt-in version of Universe Sandbox that includes these new galaxies &#8212; we need to squash some of the nastier bugs still, but we\u2019re getting close. <\/span><\/p>\n<p>&nbsp;<\/p>\n<p><a class=\"twitter-follow-button\" href=\"https:\/\/twitter.com\/universesandbox?ref_src=twsrc%5Etfw\" data-show-count=\"false\" data-size=\"large\">Follow @universesandbox<\/a><script async=\"\" src=\"https:\/\/platform.twitter.com\/widgets.js\" charset=\"utf-8\"><\/script><br \/>\n<iframe loading=\"lazy\" style=\"border: none; overflow: hidden;\" src=\"https:\/\/www.facebook.com\/plugins\/page.php?href=https%3A%2F%2Fwww.facebook.com%2FUniverseSandbox%2F&amp;tabs&amp;width=340&amp;height=70&amp;small_header=true&amp;adapt_container_width=true&amp;hide_cover=false&amp;show_facepile=false&amp;appId\" width=\"340\" height=\"70\" frameborder=\"0\" scrolling=\"no\"><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>For this developer update, we\u2019re going to take a little break from looking at our work on Surface Grids &amp; Lasers to turn our attention on the upcoming new galaxies (these are a work-in-progress and are not yet available in Universe Sandbox). You can check out Dev Update #1, Dev Update #2, Dev Update #3, [&hellip;]<\/p>\n","protected":false},"author":19,"featured_media":3723,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[3,21],"tags":[],"class_list":["post-3713","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-development","category-devlog"],"_links":{"self":[{"href":"https:\/\/universesandbox.com\/blog\/wp-json\/wp\/v2\/posts\/3713","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/universesandbox.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/universesandbox.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/universesandbox.com\/blog\/wp-json\/wp\/v2\/users\/19"}],"replies":[{"embeddable":true,"href":"https:\/\/universesandbox.com\/blog\/wp-json\/wp\/v2\/comments?post=3713"}],"version-history":[{"count":11,"href":"https:\/\/universesandbox.com\/blog\/wp-json\/wp\/v2\/posts\/3713\/revisions"}],"predecessor-version":[{"id":4684,"href":"https:\/\/universesandbox.com\/blog\/wp-json\/wp\/v2\/posts\/3713\/revisions\/4684"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/universesandbox.com\/blog\/wp-json\/wp\/v2\/media\/3723"}],"wp:attachment":[{"href":"https:\/\/universesandbox.com\/blog\/wp-json\/wp\/v2\/media?parent=3713"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/universesandbox.com\/blog\/wp-json\/wp\/v2\/categories?post=3713"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/universesandbox.com\/blog\/wp-json\/wp\/v2\/tags?post=3713"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}