LINE (STUDY) is a dynamic artwork that relies on a renderer contract to offer its owner multiple compositions. This website displays the latest state of the renderer contract, and the URL is plugged into the NFT’s metadata to circumvent the limitations of Manifold’s standard 1-of-1 contract.
The artwork exists on a 5x5 grid. Points on this grid are defined by (x,y) coordinates and associated with images. Images are first hidden, and it’s up to the token’s owner to discover them. The grid can be explored by writing the functions of the renderer contract.
There are two points, the origin point and the image point; their current positions are defined by “o” and “x,” respectively. The origin point is an anchor on the grid, and the image point defines the token’s image.
The origin point movements are restricted as such: (x+1,y), (x-1,y), (x,y+1), (x,y-1). The most recent origin point coordinates define the image point movement restrictions according to the same rules. To move on the grid, write the correct (x,y) coordinates in the moveOriginPoint and setImagePoint functions of the renderer contract.
Coordinates can only be visited once by point type. The contract’s read functions allow the owner to keep track of those visits and the grid button to visualize them. Once coordinates have been visited, their symbols on the grid change to “@” and “#”.
Once the origin and image points have visited the same coordinates (“&” symbol), the owner can use the sumUpImages function to create a new landscape with these previously explored coordinates. The grid’s exploration can be resumed at any point.
The testnet renderer contract is minted on Optimism Sepolia at the following address: 0xba3c9069BE6d29AE079B92200E797FD0190f8F2c. This test site and contract are for demonstration purposes. They will be destroyed.