/Terrain-Generator

Noise and voronoi-based terrain generation

Primary LanguageRustMIT LicenseMIT

Agent-based border simulation

I originally started this because I wanted to try generating semi-realistic borders by simulating agents.

Possibly with genetic algorithms? Maybe with reinforcement learning? We'll see ... for now I'm just porting the thing over to Rust, and learning the language on the way.

References and inspiration

The starting point for this project. Voronoi based map generation with hydraulic erosion.

Uses the same exact starting point as this project. Lots of well explained development, going through the pitfalls and successes!

Posts about maps, evolving borders, simulating agents. Very cool!

Massive world generation project. Goes through lots of tricks to make the maps more believable.

More world maps. I'm not drawing world maps, but there's probably some helpful tips here.

Lots of good stuff here .... Remember to check the appendices as well.

How to try this out yourself

You will need to have Node.js installed.

Additionally you'll need a bunch of Rust stuff.

When all is set up, you can navigate to this projects folder and run:

yarn install
yarn dev

If you don't have yarn, npm install and npm run dev should do the trick.

It should now be running and be available at localhost:5000.