Skip to content

yh-0218/NFT-Generator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NFT Image Generator

  1. Add trait info in [traits.json] file. Trait info includes correct name of trait type and value, and the count of specific trait. The order of traits should start from background layer trait.
  2. Save trait images in [traits] folder. Every trait has one directory including trait images. Here directory name and file name should be exactly same as what is defined in [traits.json].
  3. Edit image extension and count of images to be generated in [image-gen.js] file. const extension = 'png'; const imgCount = 191;
  4. Run script. node image-gen.js Generated images saved in [images] directory.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 99.6%
  • Shell 0.4%