Crate hex_renderer

source ·
Expand description

Library for generating images of hex patterns from the HexCasting mod

This crate currently includes two different Grids to draw the patterns on as well as many options.

HexGrid - A hexagonal grid with a maximum width. SquareGrid - Grid of fixed size tiles (squares) that dynamically size the patterns to fit within them.

To get started, look at one of the grids

Re-exports§

Modules§

  • All of the grids to draw images on.
  • All structs/enums used to define rendering options
  • Everything related to working with and representing individual patterns

Structs§

  • Represents a pattern to be drawn on a grid

Enums§