Skip to main content

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 Blade_0
40 Common High Blade_40
41 Uncommon Low Blade_41
60 Uncommon High Blade_60
61 Rare Low Blade_61
85 Rare High Blade_85
86 Epic Low Blade_86
95 Epic High Blade_95
96 Outstanding Low Blade_96
100 Outstanding High Blade_100

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

rpg_icon_generator-0.1.0.tar.gz (9.8 kB view hashes)

Uploaded Source

Built Distribution

rpg_icon_generator-0.1.0-py3-none-any.whl (12.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page