Skip to content

An NFT project which is a mashup of popular CC0 collections, such as Moonbirds, Goblintown, Mfers, Nouns, and Tiny Dinos

Notifications You must be signed in to change notification settings

ibrosen/golden-ratio-nft-generate

Repository files navigation

cc0-mashup

Setup

This project uses Yarn PnP. If you with to use the more classic yarn node_modules approach, or NPM, feel free to delete .yarn and run it as you normally do.

For Yarn PnP in VSCode, click "Allow" on the prompt that asks if you wish to use the workspace's version of Typescript

Generate the correctly sized images

The /original-layers folder contains all the original layers for the various projects. They've been kept as is in order to give us the most flexibility as we generate images, allowing us to pick different output sizes easily.

Run the below command to take all of these original layers and resize them all to be the correct size and format, ready for use in the generation engine. The command also sets up the required folder structure

yarn setup

Generating

To generate the assets, we use a seeded RNG approach. We only need our RNG here to be "good enough", as the contract is responsible for ensuring there's no way of knowing which NFT will have which metadata.

Metadata

yarn generate --metadata

Images

yarn generate --images

Check progress

If you're running the image generation on a machine in the background and wish to see the progress, run yarn check, which will look in the out/images/ directory and report back the progress.

About

An NFT project which is a mashup of popular CC0 collections, such as Moonbirds, Goblintown, Mfers, Nouns, and Tiny Dinos

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published