#pattern #hex #minecraft-mod #renderer #grid #renders #hexcasting

bin+lib hex_renderer

Renderer for patterns in hexcasting (a mod for minecraft)

6 releases

0.2.4 May 9, 2024
0.2.3 Apr 1, 2024
0.2.2 Mar 1, 2024
0.2.1 Jan 8, 2024
0.1.0 Jan 1, 2024

#71 in Rendering

MIT license

125KB
2.5K SLoC

Hex-Renderer

This is a library that renders patterns from the hexcasting mod.

Getting Started:

For now, there are a couple of examples above to get started.


lib.rs:

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]

Dependencies

~2MB
~42K SLoC