About DynaStripes
Overview
DynaStripes is a novel animated NFT art project created by the colour-blind, colour-obsessed visual artist, volstrate, an alter ego of long-time technologist Richard Rauser. DynaStripes NFTs are both generative, in that the artwork is created programatically via the use of an algorithm, and on-chain, meaning that the creation algorithm, user inputs, metadata and the artwork itself are stored directly on the Polygon blockchain in an ERC-721 compliant smart contract. Uniquely, the minter chooses the input parameters, previews the artwork prior to minting, and collects all royalties on secondary sales in perpetuity. Full copyright and commercial property rights are assigned to the NFT owner. The DynaStripes smart contract is restricted to a max supply of 1119 artworks.
User-directed mint
Minting refers to the process of creating an NFT, i.e. immutably committing an artwork to a blockchain. Nearly all NFT art projects issue newly minted artwork in one of two ways:
- Blindly and pseudorandomly allow end-users to mint artwork generated during the minting process, the user only knowing what they've bought after the work has been paid for and fully minted.
- The artwork is generated in advance and then offered for sale either after a private mint, or via a minting process during which the artwork may be selected, but not generated.
When the artist informs the generative process in the latter method, it is usually referred to as "artist-directed" generative art as the artist can tweak the generation algorithm and its parameters before the artwork's creation, discard poor quality work, and keep the work that has some subjective quality. Conversely, DynaStripes is among the first generative, on-chain NFT art projects that are "user-directed," allowing end-users themselves to have control over the input parameters used in the minting process and preview the artwork prior to minting.
Random seed & artwork uniqueness
The input parameters selected by the user are modulated by a random seed created client-side to achieve a better approximation of randomness. Solidity doesn't natively support random number generation. This is then injected into the smart contract along with the user-selected values in order to allow generation of the artwork. Further pseudorandom values are generated in the contract from the injected seed. So that duplicates are prevented, the random seed is captured by the smart contract and may not be used again, thereby ensuring that duplicate artworks are an impossibility.
Artwork generation
Each DynaStripes artwork takes the form of an SVG image created using input values from the user and a random seed value submitted to the smart contract. These user inputs are stored directly in the contract upon minting, while the pseudorandom values are derived deterministically when generating the artwork's SVG. The artwork is generated by the smart contract populating an SVG template with these values. This is done via a gas-free view operaton when the SVG is rendered by the contract. The SVG image format is a W3 open standard for scalable vector graphics, and is supported by nearly all web browsers.
Royalties
The DynaStripes smart contract implements the newly ratified EIP-2981 royalty standard of August 2021 in an unconventional way. Most NFT creators use this standard to collect royalties for themselves in perpetuity, however DynaStripes instead assigns the minter (i.e. the person who creates the work via this dApp) to be the permanent and perpetual recipient of all royalties. The royalty rate is fixed at 10% of all secondary sales.
EIP-2981 is a new but incredibly popular new Ethereum standard that is likely to be supported by many NFT marketplaces in future as its adoption proliferates. The standard was ratified in August 2021, whith Known Origin supporting it as of October 2021, and plans for OpenSea to support it in 2022.
Copyright and commercial rights
Whoever owns the the NFT for a given artwork is its legal owner and holds its copyright. The token owner is entitled to commercial and property rights for that NFT. Selling the NFT to someone else such that they become recorded as its owner on the blockchain confers these rights for that artwork, including copyright and commercial rights, to the new owner. By purchasing the artwork, any new owner agrees for future royalties to be paid out to the original minter on any future sales. This is written directly into the DynaStripes smart contract, and so is simply being reiterated here.
Smart contract
The verified DynaStripes smart contract can be viewed on
Influences
The DynaStripes project has been heavily influenced by existing on-chain, generative art projects like Autoglyphs, Avastars, ArtBlocks, and more. There are, however, a few projects that have served as particularly strong inspiration for DynaStripes:
- TinyBoxes: This "proto-generative," on-chain generative NFT project forged a new path by allowing users to select input parameters that influence the minted work. The artwork is entirely on-chain, and metadata is served from a Tiny Boxes web server.
- Neolastics: this project by Simon de la Rouviere is entirely on chain and generative, forging an early path in on-chain SVG art. Metadata is served from a Neolastics endpoint. Simon's extensive writing has also been hugely influential, particularly this fascinating piece.
- Mandala Tokens: this project from Ronan Sandford pioneered serving base64 encoded bitmap images directly from the Ethereum blockchain. And not only is the artwork stored on chain, but the metadata as well! 😍
- Proof podcast: full of inspiring NFT discussion, Kevin Rose's' Proof podcast has been full of many "ah-ha" moments and NFT idea stimulation. A must listen to anyone interested in the NFT space.
- dievardump: Simon Fremaux created the reference implmentation of the EIP-2981 per token royalties contract that is used by DynaStripes to pay royalties. He is also the creator of the awesome SolSeedlings project, amongst others.