Skip to content

eliafurl/CollectableGenerator

Repository files navigation

Collectable Generator Project

This repository contains the Collectable Generator. It is a simple tool for generating random collectables from sample pngs, stacking a defined number of layers and exporting the final image as png. OpenCV has been used for the image processing.

Project Folder structure:

testProject:
|
|-- source_layers:
|   | 
|   |-- 00-BG:             layer-0
|   |   |-- BG-GREEN.png
|   |   |-- BG-NO.png
|   |
|   |-- 01-CORE:           layer-1
|   |   |-- CORE-BLU.png
|   |   |-- CORE-GREEN.png
|   |
|   |-- 02-STAR:           layer-2
|   |   |-- STAR-1.png
|   |   |-- STAR-2.png
|   |   |-- STAR-3.png
|   |   |-- STAR-4.png
|
|-- TBD: exported collectable pngs

CollectableGenerator

This is a class used for creating a collectable project. It contains all the possible attributes, all the methods for the generation and export of all the collectables.

A collectable is identified by a fixed number of attributes. Each attribute represent a layer, each layer has a defined position in the stack. To each layer correspond an attribute.

Collectable

This is a class for storing all the informations about a single collectable.

Collectable Metadata

  • name
  • project
  • numberID
  • hashID: HASH obtained by combination of attributes NEEDED?
  • image: IPFS URI (Uniform Resource Identifier)
  • attributes
    • attribute-1-value
    • ...
    • attribute-N-value
  • author

Utilities

This is a collection of useful methods.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages