Balls of Art
A randomly generated, fully on-chain SVG NFT, with simple, random, and colorful balls of different sizes.
Screenshots



Problem Statement
Balls of Art is an NFT collection that should serve as a basis to learn SVG-based, fully on-chain NFTs, and as a first step to start creating your own generative art NFTs. It shows in a clear, high-quality, yet simple way:How to structure an NFT projectHow to optimize for gasHow (pseudo) randomness works and how to create it without using oraclesHow to draw simple SVGsHow to start playing with SVG animationHow to create a very simple generative art with all of the above.Next steps for someone learning from this:Create a more complex generative art structureTake input from the user to create art with input as part of the equationLearn more complex SVGAdd more animationCreate a front-end and engaging minting page and processCreate more art.
Solution
This project uses:Newest SolidityERC721Gas optimizationsGood-quality code, suitable for learning(Pseudo) randomizationSVG drawingSVG animationFully on-chain logic, metadata, and storageSimple generative NFT art as an output.Each NFT piece is a process of randomized:Background colorEach ball's sizeEach ball's colorSmiley ball location
Hackathon
ETHOnline 2022
2022
Contributors
- velvet-shark
8 contributions