A fast and efficient library for rendering Minecraft skins into 2D and 3D isometric images. Inspired by existing services like Crafatar but with performance in mind. This library is used in production for mineatar.io.
- Updated go to v1.26
- Replaced go-flags with custom flag parsing
- Added support for rendering HD skins
https://pkg.go.dev/github.com/SkyboundLab/skin-render
| Method | Result |
|---|---|
RenderFace() |
|
RenderHead() |
|
RenderBody() |
|
RenderFrontBody() |
|
RenderBackBody() |
|
RenderLeftBody() |
|
RenderRightBody() |
- Isometric graphics in Inkscape — Nicolás Guarín-Zapata
- go-gl/matgl
- LapisBlue/Lapitar
- go/x/image
transform_Image_Image_Overfunction - go/x/image matrix
invertfunction - And various other online matrix tutorials
A special thanks to oakar258 in the Minecraft Wiki Discord server for support on how Minecraft scales and renders the overlay skin layer.