/NFTArtGeneration

NFT arts are generated with prepared components by node.js

Primary LanguageJavaScriptMIT LicenseMIT

Installation

  • Environment: node 14.19.0
  • npm i

Generation Dons NFT arts

  • npm run build

Generation Preview Gif for Dons NFT arts

  • npm run preview_gif

Setup number of images

  • src/config.js: growEditionSizeTo: 150,

Setup quality of the image

  • src/config.js: format{ width: 4096, height: 4096, smoothing: false}

Setup not required layer randomly

  • src/config.js: add the value of the layer is not required and random to the array randLayers

Setup the rarity value

  • We can set up the rarity value with the file name. for example. in the direcotry of the layers/Backgrounds, Background#50, BeachBackground#20, BlueBackground#80...