This package generate RPG items images procedurallye
Project description
RPG icon generator
This package generate RPG items images procedurally, based on BrianMacIntosh Algoritms
Item type
- Blade
- Potion
- Masses
- Axe
- More to come ;)
Output example
Complexity | Rarity equivalent | Blade Example |
---|---|---|
0 | Common Low | |
40 | Common High | |
41 | Uncommon Low | |
60 | Uncommon High | |
61 | Rare Low | |
85 | Rare High | |
86 | Epic Low | |
95 | Epic High | |
96 | Outstanding Low | |
100 | Outstanding High |
instalation
pip install rpg-icon-generator
Usage
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/')
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for rpg_icon_generator-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70735b2f1de75e11673d420ac134431d00c29158ec9795f09a0559e0c16c66cb |
|
MD5 | 2baf77522b2b4f38686bcce8dd368e7e |
|
BLAKE2b-256 | ad288f6915dc26ed6bfa37b7bce4d9291922f98c2d6f395df59dd5d24dfce8b5 |