Skip to main content

Lists on lists on lists

It's alive!! Well the very infantile functional proof of concept for the idea that is the procedural generation for the universe of Galliventurer is alive.



Above is the result of a single generation run at the time of writing (hopefully I remember to save a copy of that function and update the call as it will soon be changing). It's quite rudimental at the moment. A random selection from a few different lists without any inter-relational weights or even the possibility of child entities. At the moment (again time of writing) the objects "discovered" aren't even saved! 😱




In the very near future however, the procedural generation will have a few steps. The beginning being a random selection of an entity type. This very top level will consist of:
  • System
  • Stars
    • dwarfs
    • giants
    • neutron
  • Planets
  • Asteroids
  • Comets
  • Junk/debris
  • Substellar object (brown dwarf)
  • Moons
  • Nebula
From this first there will be a series of inner lists for each type. Certain types will have a children property with a range of likely amounts of sub entities. For example a system would have a children range of 1 to 3 stars; a star would have a children range of 2 to 100 which could be planets, asteroids, junk, substellar, etc and so on. The beauty is, everything is referential. An object has it's properties: uiddata (colour, size, life time, etc), optionally (dependent on type) an array of children uids, and physical mapping through an array of vector coordinates in neighbours & possibly game centric id references like shaders, terrain maps, etc.

Side note, we're currently moving house, not by choice but hey that's the rental life. Whilst packing up my office area, I stumbled upon my raspberry pi. I think I've found my first embarking pylon. Periodically & regularly running the procedural generation and punching it to the database!

Comments

Popular posts from this blog

Galliventurer - Dreaming of a Universe

n. Galliventurer - one who adventures whilst gallivanting. We have a name. A compound of the words gallivanter & adventurer it fits the game quite nicely. It will also be the name of the player's ship (though, you may be able to have many ships throughout the game). Also trying something a little different for this project, practicing what I preach as it were. I'm actually going to plan this out a little bit before I ever actually write any code. Oddly I feel that most of my hair brain schemes of previous years have had a fast paced "rush to market before someone else thinks of this" attitude. So obviously there was no time to stop and take a moment to put any thought in before code went into editor. None of those projects ever made it out of the proof of concept phase oddly enough, no prizes for working out why. In the spirit of all this, things are different this time around. Having given it even two minutes of thought there are several issues....

My Shout - App Idea

With everyone working from home a lot more these days, especially in the face of a global pandemic with self isolation in effect in most place still, it becomes tricky to make good on that old "buy you a coffee" promise to your friends &/or coworkers. My Shout is the idea for a service to send things to people by alias only. The service would leverage home delivery services such as Menu Log, Favour, etc. but aimed at sending things to other people rather than ordering for yourself, though that would be an obvious function of the service. The address and location details of the person are only known to the service and hidden from others, it would be a breeze to then be able to gift things to your friends, coworkers, or even favourite creator, etc. that is halfway across the country or even the world without knowing their address.  Once a "gift" has been sent the recipient gets a notification and can schedule when to get the gift, or even exchange to an equal valu...

Reason Based Text Alignment Discovery Model

The hottest topic currently is fake news and the proliferation of disinformation. Though it would be counter to the wishes of corporations more interested in profits than human collective good, a system is sorely required to analyse text content that is shared as & undistinguishable from facts. Small statements with no backing and linking to articles written based on pure emotion rather than concrete evidence, backed by nothing aside from straw man arguments or espousing opiníon and rhetoric as law or common decree. An outline for a model that would generate a small visual graph which would allow for a glance into the substance of the content before consumption: Emotive language ratio to detailing of findings and reason based "disprove first" approach Inference of subtext and agenda of the content Links + source references count & meta score of their own merit Ratio of steel man or straw man arguments Count of balacing statements and justification/testing of hypothesi...