Solana NFT generative artwork program
Depends on libvips
for art generation, which can be installed here: https://www.libvips.org/install.html
Install from source:
cargo install --git https://github.com/worldies/resin
resin --help
Or build from source:
git clone https://github.com/worldies/resin.git
cd resin
cargo build --release
./target/release/resin --help
Initialize from existing assets directory under ./assets
resin init --from-existing=./assets
Make sure each attribute is a subfolder and each subfolder contains the layers you want to use (reference the structure below)
- Edit the
config.json
to configure odds - Run
resin generate
- View generated files in
./generated
!
Initialize new assets directory under ./assets
resin init
- Replace the layer folders and images with your own
- Edit the
config.json
- Run
resin generate
- View generated files in
./generated
!
Refer to config.example.json for the format of config.json
/assets
/config.json
/background
/blue.png
/brown.png
...
/eyes
/egg-eyes.png
/heart-eyes.png
...
...
git clone https://github.com/worldies/resin.git
cd resin
cargo run
cargo test # make sure all tests pass