Skip to main content

Random Generation That's Not So Random

While I do want the Galliventurer universe to be procedurally & randomly generated, I don't want it to be truly random. There needs to be a modicum of probability involved. Some weighting so that some things are rarer than others. After all we can have too many diamond covered planets or uranium based suns - as you can see I haven't actually started thinking too much about the composition of the planets, stars, etc.




Keeping this probability based random selection in mind, I'm going to be using a dynamically weighted series of arrays to randomly select properties for entities in the Galliventurer universe. Using something very similar to (or based on) this article by Michael Czechowski https://observablehq.com/@nextlevelshit/rejection-sampling-in-javascript. The main bit of complexity here will be the values of a randomly selected property will affect the weights of the next selection. For example the size of a star will greatly change the weight of the probabilities for the temperature (which determines it's colour). Another example would be a star that is randomly selected to be large, will greatly skew the weights to have more orbiting planetary bodies.

Now off to determine all the things that need to go into the lists, and what their initial weights for probability should be, wish me luck. 

Comments

  1. Note to self - try to make the next post not be publish near midnight 🤦‍♂️🥃

    ReplyDelete

Post a Comment

Popular posts from this blog

The Worker Bee

Do what you're told, follow the rules, don't over step your bounds, stay in your lane. The true cornerstone of modern enslavement to work. "We can't all live our dreams", why is that? Because then we'd have to change, to collectively actually think and enact a way all people could realistically achieve a base standard of living & contentment. Allowing people's mind free reign on real questions rather than worrying where the next meal is coming from & keeping the lights on.  Bee animation by  Joe le Sale While I have no answers to life's great mysteries, I do know this about the meaning of life - it definitely isn't to toil & labour day in and day out to fill the wallet of our bosses or investors. So how is it that we find ourselves with that holding such a giant sway over our lives? This of course is rhetorical, we all know the answer, you don't bite the hand that feeds you. Which brings the problem in to sharp focus, we no longer ...

The Usefulness of a Thing

I haven't written here for a while, not for the lack of will or giving at least a genuine if feeble effort. I've become stuck posting anything by the trap of it "being worth sharing". Which is exactly the opposite of the reason for this blog!  This is space exists solely to allow my personal shower thoughts and half baked brain worms to be written on the napkin of the virtual world, strung up on twine in the cafe window for any meandering passerby to glimpse, muse over, critique or laugh at as they trip through the derelict off ramps & dirt tracks of the information super highway. Thank you for any time you spend within the enclave of this blog, just know that by making it this far, yours is the interest and support I cherish!

How to Think

Moving an arm and thinking about moving an arm are two vastly different things. Even thinking about thinking about moving an arm is a natural thing to do even if reading it is very odd. Now the hard part, how to you design thinking ? The deliberate process of simulating scenarios to either logical or illogical ends would seem like a great fit for computers that can do millions of calculations a second. The slow an deliberate winding down a thought path seems to be the missing link to truely intelligent machines. We are very good at making machines. Even more so machines that actually produce things and have purpose. Since the earliest primitive forms of man, our tools are defined by their use. Or more aptly by the end result they achieve. So what is the end result of smart machines? To drive our cars, build our structures, do the heavy lifting and manage our lives? To do all that the ability to compute and apply action is needed but not actual thought. Most business tools and modern ap...