LINE (STUDY) is a dynamic artwork that relies on a renderer contract to offer its owner multiple compositions. A 5x5 grid is laid, and each point is associated with an image. These images are abstract photographic studies of landscapes made with ultra-telephoto lenses taken at sundown.
When the ownership of the rendering contract is transferred to the token owner, they can call different functions to move their token’s origin and image points to explore the 25-image grid. They can alternate between different states and compose a new landscape with previously explored coordinates.
The moveOriginPoint function allows the move of the token’s anchor, while the setImagePoint function allows the exploration of the surrounding coordinates and defining 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.
Coordinates can only be visited once by point type. The contract’s read functions allow the owner to keep track of those visits.
Once the origin and image points have visited the same coordinates, the owner can use the sumUpImages function to create a new landscape with these previously explored coordinates. There are thousands of possible combinations. After creating a new landscape, the owner can resume the grid’s exploration by reusing the setImagePoint function.
The different dynamic features of the renderer contract leverage the low transaction fees of OP Mainnet; otherwise, this concept would be impractical.
Ownership of the renderer and ERC721 contracts will be transferred to the future owner of the LINE (STUDY) token. They will then be able to explore the grid as they wish and update the baseImageURL and the renderer site with a more permanent storage solution of their choosing.
By Figure31