Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate population spawning. #2

Closed
anyweez opened this issue Jul 12, 2016 · 2 comments
Closed

Integrate population spawning. #2

anyweez opened this issue Jul 12, 2016 · 2 comments

Comments

@anyweez
Copy link
Owner

anyweez commented Jul 12, 2016

Basic components exist as of b8e4776 but I need to do some testing in the core application. Right now they're independent.

Current plan for population spawning is pretty rudimentary but I think it'll be fine over time w/ law of large numbers.

  1. Periodically spawn a random population and a random location. Do this pretty regularly (every 1 - 10 seconds).
  2. Periodically evolve populations with they migrate. Need to change names of the population when this occurs.
  3. Likely need to look into web workers to handle some of this work (Web workers + immutable #3).
@anyweez anyweez added the active label Jul 12, 2016
anyweez pushed a commit that referenced this issue Jul 12, 2016
Significant progress on #2. Currently spawning every fifteen seconds because
ten seconds was pretty intense. As the map gets bigger it may make sense to
increase this.
@anyweez
Copy link
Owner Author

anyweez commented Jul 12, 2016

Extremely light performance impact (<2% processor usage on my laptop) at this point, though this may change when the UI components come into play. Looks like web workers might not be strictly necessary yet.

@anyweez anyweez removed the active label Oct 18, 2020
@anyweez
Copy link
Owner Author

anyweez commented Oct 18, 2020

I'm descoping this project to be focused specifically on map generation, at least at this point -- specifically leaving populations out.

@anyweez anyweez closed this as completed Oct 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant