#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

#66 in Rendering

Download history 18/week @ 2024-02-17 89/week @ 2024-02-24 66/week @ 2024-03-02 54/week @ 2024-03-09 7/week @ 2024-03-16 195/week @ 2024-03-30 267/week @ 2024-04-06 8/week @ 2024-04-13 15/week @ 2024-04-20 143/week @ 2024-05-04 24/week @ 2024-05-11

183 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