skin-render
skin-render copied to clipboard
A library for rendering Minecraft skins into 2D and 3D isometric images.
skin-render
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.
Documentation
https://pkg.go.dev/github.com/mineatar-io/skin-render
Examples
| Method | Result |
|---|---|
RenderFace() |
|
RenderHead() |
|
RenderBody() |
|
RenderFrontBody() |
|
RenderBackBody() |
|
RenderLeftBody() |
|
RenderRightBody() |
Credit
- 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.