The Grids library comes with 26 examples, which includes simple grid setup, grid algorithms, and grid games. Below are some of the examples you can play on our web site.


Prims Algorithm

Prim’s Maze Generation Algorithm on a Triangular Grid

This example shows how to work with grid edges, and how you can use rhombille grids  to display the edges of triangular grids nicely

SEE THE CODE/LIVE EXAMPLE

prins_algorithm_hex_thumb

Prim’s Maze Generation Algorithm on a Hexagonal Grid

This example shows how faces and edges of a hex grid can be represented using a single hex grid.

SEE THE CODE/LIVE EXAMPLE

Diffusion

Diffusion

This example shows how to use the AggregateNeighborhood function, in this case, to implement diffusion. In games, diffusion-type algorithms is useful to simulate the flow of gases, disease, and information.

SEE THE CODE/LIVE EXAMPLE
250000hexes_banner

250 000 Hexes

This example shows how well grids work with big grids.

SEE THE CODE/LIVE EXAMPLE