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 --helpOr build from source:
git clone https://github.com/worldies/resin.git
cd resin
cargo build --release
./target/release/resin --helpInitialize from existing assets directory under ./assets
resin init --from-existing=./assetsMake sure each attribute is a subfolder and each subfolder contains the layers you want to use (reference the structure below)
- Edit the
config.jsonto 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