When panning the star map it would be well to have a smooth animation
for the movement.
THese values are from easeInOutQuad at:
=> https://gist.github.com/gre/1650294
Bio grows, populations consume bio and grow or consume too much and
crash. THat could set up the first main game dynamic or challenge:
don't let your people eat everything and die.
How to draw off population? Send them to the stars of course!
We can worry about controlling the growth rate later (either directly
under user control or affected indirectly though factors the user can
control? Something else?)
Remember that by Insect Law populations can only reproduce on their home
worlds! That constraint isn't in the DB nor the "server" code yet
though.
It's janky (I used the canvas item id for the ovals rather than the DB
id column values!) but it kind of works.
It's a little too dramatic to switch tabs, I think it would tend to
undermine or at least not support spacial memory?
It seems like a reasonable thing to bind the details of the stars when
we draw them, because we have them then, eh? The other thing to do
would be just bind the DB id and look up info in the DB as needed in
event handlers and such?
Then when you display them they can be mapped to a deterministic human
readable format, like letters or some Unicode symbols? Name generators?
🌑🌒🌓🌔🌕🌖🌗🌘♈♉♊♋♌♍♎♏♐♑♒♓