#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

#67 in Rendering

Download history 15/week @ 2024-02-16 10/week @ 2024-02-23 145/week @ 2024-03-01 54/week @ 2024-03-08 10/week @ 2024-03-15 188/week @ 2024-03-29 274/week @ 2024-04-05 7/week @ 2024-04-12 16/week @ 2024-04-19 65/week @ 2024-05-03 101/week @ 2024-05-10 5/week @ 2024-05-17

171 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
~42K SLoC