This package generate RPG items images procedurally, based on BrianMacIntosh Algoritms
- Blade
- Potion
- Axes
- Armor
- Hammer
pip install rpg-icon-generator
You will need to install Cairo for the images part Checkout this https://pypi.org/project/drawSvg/ to install it
from rpg_icon_generator import Blade_Generator
generator = Blade_Generator()
seed = datetime.now() # provide a seed for this blade
# the image will be in test/out/[seed].png
# the image will be 32*2 by 32*2 pixels
# complexity ranging from 0 to 100
generator.generate(seed=seed, complexity=50, dimension=32, render_scale=2, output_directory='test/out/')
# Same for the other generator
from rpg_icon_generator import Potion_Generator, Axe_Generator, Armor_Generator, Hammer_Generator