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

bin+lib hex_renderer

Renderer for patterns in hexcasting (a mod for minecraft)

5 releases

0.2.3 Apr 1, 2024
0.2.2 Mar 1, 2024
0.2.1 Jan 8, 2024
0.2.0 Jan 5, 2024
0.1.0 Jan 1, 2024

#69 in Rendering

Download history 8/week @ 2024-01-01 25/week @ 2024-01-08 20/week @ 2024-02-19 132/week @ 2024-02-26 62/week @ 2024-03-04 20/week @ 2024-03-11 459/week @ 2024-04-01

483 downloads per month

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
~40K SLoC