{"id":386,"date":"2022-08-02T19:14:00","date_gmt":"2022-08-02T18:14:00","guid":{"rendered":"https:\/\/starshipsimulator.co.uk\/?p=386"},"modified":"2022-08-17T15:28:42","modified_gmt":"2022-08-17T14:28:42","slug":"t-62-days","status":"publish","type":"post","link":"https:\/\/starshipsimulator.co.uk\/?p=386","title":{"rendered":"T-62 Days"},"content":{"rendered":"<p>[et_pb_section fb_built=&#8221;1&#8243; _builder_version=&#8221;4.9.1&#8243; _module_preset=&#8221;default&#8221; background_color=&#8221;RGBA(0,0,0,0)&#8221; hover_enabled=&#8221;0&#8243; border_color_all=&#8221;#000000&#8243; custom_margin=&#8221;0px|0px|0px|0px|true|true&#8221; custom_padding=&#8221;0px|0px|0px|0px|true|true&#8221; sticky_enabled=&#8221;0&#8243;][et_pb_row _builder_version=&#8221;4.9.1&#8243; _module_preset=&#8221;default&#8221; background_color=&#8221;RGBA(0,0,0,0)&#8221; custom_margin=&#8221;0px|0px|0px|0px|true|true&#8221; custom_padding=&#8221;0px|0px|0px|0px|true|true&#8221; hover_enabled=&#8221;0&#8243; border_color_all=&#8221;#FFFFFF&#8221; width=&#8221;100%&#8221; sticky_enabled=&#8221;0&#8243;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.9.1&#8243; _module_preset=&#8221;default&#8221;][et_pb_text _builder_version=&#8221;4.9.1&#8243; _module_preset=&#8221;default&#8221; text_font=&#8221;||||||||&#8221; text_text_color=&#8221;#FFFFFF&#8221; text_font_size=&#8221;16px&#8221; text_letter_spacing=&#8221;1px&#8221;]<\/p>\n<p>I can&#8217;t believe we&#8217;re a week into the countdown already! Today I&#8217;ve been polishing and refining the random colour palette generation for the planet-gen, and largely just making sure that it doesn&#8217;t spit out absurd-looking planets. When you give it free rein to roll the dice as it sees fit, you end up with some truly awful results like this:<\/p>\n<p><strong><a href=\"https:\/\/starshipsimulator.co.uk\/wp-content\/uploads\/2022\/08\/planet5.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/starshipsimulator.co.uk\/wp-content\/uploads\/2022\/08\/planet5-1024x576.png\" width=\"1024\" height=\"576\" alt=\"\" class=\"wp-image-504 alignleft size-large\" srcset=\"https:\/\/starshipsimulator.co.uk\/wp-content\/uploads\/2022\/08\/planet5-980x551.png 980w, https:\/\/starshipsimulator.co.uk\/wp-content\/uploads\/2022\/08\/planet5-480x270.png 480w\" sizes=\"auto, (min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1024px, 100vw\" \/><\/a><\/strong><\/p>\n<p>The best solution I&#8217;ve found so far is to define a number of colour schemes that work well, and then randomly tweak the numbers on those specific themes within set boundaries. For example, here are a few random results from the &#8220;Dark mountains with white plains&#8221; colour scheme:<\/p>\n<p><a href=\"https:\/\/starshipsimulator.co.uk\/wp-content\/uploads\/2022\/08\/planet6.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/starshipsimulator.co.uk\/wp-content\/uploads\/2022\/08\/planet6-1024x576.png\" width=\"1024\" height=\"576\" alt=\"\" class=\"wp-image-505 alignleft size-large\" srcset=\"https:\/\/starshipsimulator.co.uk\/wp-content\/uploads\/2022\/08\/planet6-980x551.png 980w, https:\/\/starshipsimulator.co.uk\/wp-content\/uploads\/2022\/08\/planet6-480x270.png 480w\" sizes=\"auto, (min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1024px, 100vw\" \/><\/a><\/p>\n<p><a href=\"https:\/\/starshipsimulator.co.uk\/wp-content\/uploads\/2022\/08\/planet7.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/starshipsimulator.co.uk\/wp-content\/uploads\/2022\/08\/planet7-1024x576.png\" width=\"1024\" height=\"576\" alt=\"\" class=\"wp-image-506 alignleft size-large\" srcset=\"https:\/\/starshipsimulator.co.uk\/wp-content\/uploads\/2022\/08\/planet7-980x551.png 980w, https:\/\/starshipsimulator.co.uk\/wp-content\/uploads\/2022\/08\/planet7-480x270.png 480w\" sizes=\"auto, (min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1024px, 100vw\" \/><\/a><\/p>\n<p><a href=\"https:\/\/starshipsimulator.co.uk\/wp-content\/uploads\/2022\/08\/planet8.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/starshipsimulator.co.uk\/wp-content\/uploads\/2022\/08\/planet8-1024x576.png\" width=\"1024\" height=\"576\" alt=\"\" class=\"wp-image-507 alignleft size-large\" srcset=\"https:\/\/starshipsimulator.co.uk\/wp-content\/uploads\/2022\/08\/planet8-980x551.png 980w, https:\/\/starshipsimulator.co.uk\/wp-content\/uploads\/2022\/08\/planet8-480x270.png 480w\" sizes=\"auto, (min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1024px, 100vw\" \/><\/a><\/p>\n<p>As you can see, you can still generate a lot of random variation despite working within some value restraints. I&#8217;ll probably make about a dozen colour schemes to begin with, but really we can just keep adding as many as we want over time for ever-increasing planet variation.<\/p>\n<p>Hopefully, I&#8217;ll be able to get those done within a reasonable amount of time tonight because the clock is ticking away rapidly and I&#8217;ve got an entire demo to finish <img decoding=\"async\" src=\"https:\/\/starshipsimulator.co.uk\/wp-content\/themes\/Divi\/includes\/builder\/frontend-builder\/assets\/vendors\/plugins\/emoticons\/img\/smiley-tongue-out.gif\" alt=\"tongue-out\" \/><\/p>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[et_pb_section fb_built=&#8221;1&#8243; _builder_version=&#8221;4.9.1&#8243; _module_preset=&#8221;default&#8221; background_color=&#8221;RGBA(0,0,0,0)&#8221; hover_enabled=&#8221;0&#8243; border_color_all=&#8221;#000000&#8243; custom_margin=&#8221;0px|0px|0px|0px|true|true&#8221; custom_padding=&#8221;0px|0px|0px|0px|true|true&#8221; sticky_enabled=&#8221;0&#8243;][et_pb_row _builder_version=&#8221;4.9.1&#8243; _module_preset=&#8221;default&#8221; background_color=&#8221;RGBA(0,0,0,0)&#8221; custom_margin=&#8221;0px|0px|0px|0px|true|true&#8221; custom_padding=&#8221;0px|0px|0px|0px|true|true&#8221; hover_enabled=&#8221;0&#8243; border_color_all=&#8221;#FFFFFF&#8221; width=&#8221;100%&#8221; sticky_enabled=&#8221;0&#8243;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.9.1&#8243; _module_preset=&#8221;default&#8221;][et_pb_text _builder_version=&#8221;4.9.1&#8243; _module_preset=&#8221;default&#8221; text_font=&#8221;||||||||&#8221; text_text_color=&#8221;#FFFFFF&#8221; text_font_size=&#8221;16px&#8221; text_letter_spacing=&#8221;1px&#8221;] I can&#8217;t believe we&#8217;re a week into the countdown already! Today I&#8217;ve been polishing and refining the random colour palette generation for the planet-gen, and largely just [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"on","_et_pb_old_content":"","_et_gb_content_width":"","_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-386","post","type-post","status-publish","format-standard","hentry","category-uncategorised"],"_links":{"self":[{"href":"https:\/\/starshipsimulator.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/386","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/starshipsimulator.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/starshipsimulator.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/starshipsimulator.co.uk\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/starshipsimulator.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=386"}],"version-history":[{"count":10,"href":"https:\/\/starshipsimulator.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/386\/revisions"}],"predecessor-version":[{"id":882,"href":"https:\/\/starshipsimulator.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/386\/revisions\/882"}],"wp:attachment":[{"href":"https:\/\/starshipsimulator.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=386"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/starshipsimulator.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=386"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/starshipsimulator.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=386"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}