dlight / proceed

2d procedural generation experiments
2 stars 0 forks source link

Interesting libraries I might use #4

Open dlight opened 5 years ago

dlight commented 5 years ago

Here will be some Rust libraries that I might want to use. Or perhaps C libraries that I can write some bindings to.

dlight commented 5 years ago

Input:

dlight commented 4 years ago

Algorithms and data structures:

Spatial data structures:

For a general purpose grid:

For path finding

dlight commented 4 years ago

Procedural generation:

Noise:

dlight commented 4 years ago

Graphics

dlight commented 4 years ago

For graphs:

An interesting algorithm that petgraph implements: Kosaraju's algorithm (and also Tarjan's algorithm which is supposedly more efficent), that finds the strongly connected components

image

--

One interesting approach to generate graphs is to distribute points and then do spanning trees, Delaunay triangulation, etc.

dlight commented 4 years ago

To convert between node/edge types in a graph, it's probably better to use frunk.

A nice crate for newtypes: phantom-newtype

dlight commented 4 years ago

program-induction might work for generating a compact graph that satisfy a number of constraints? not really

But z3 might be cool.