Skip to content

Instantly share code, notes, and snippets.

View savvythunder's full-sized avatar
🎯
Focusing

Savvy savvythunder

🎯
Focusing
  • 13:21 (UTC +05:30)
View GitHub Profile
@savvythunder
savvythunder / minecraft_skin_renderer.py
Created June 13, 2025 02:41
# Minecraft Skin Renderer A Python module to render Minecraft skins in 2D and pseudo-3D using PIL. Extracts face, head, and body parts from skins (64x64 or 64x32) with scaling options. Supports command-line usage to generate images for various skin parts.
"""
Minecraft Skin Renderer Module with 2D and 3D rendering
-------------------------------------------------------
Provides MinecraftSkinRenderer class to render skin parts in 2D or 3D styles using PIL.
Usage:
from minecraft_skin_renderer import MinecraftSkinRenderer
renderer = MinecraftSkinRenderer("skin.png")