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 Examples | Potion Examples |
---|---|---|---|
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/')
# Same for the other generator
from rpg_icon_generator import Potion_Generator
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
rpg_icon_generator-0.2.0.tar.gz
(11.8 kB
view hashes)
Built Distribution
Close
Hashes for rpg_icon_generator-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 46535ecdf6d1dcce719f5acf6a5b09b39a1bece82a1b25c24fff3dbbb058ca4f |
|
MD5 | 72be460fd892fd85934a9a7afb414f02 |
|
BLAKE2b-256 | 464c236a602ff521328e08fb6095257fbe310eaaea321d24a51ea462d8082ebe |