Made with three.js. The gas price is retrieved via the Etherscan API and displayed on the left in GWEI. This is then used to drive the displacement on the sphere. Everytime an action is performed on the Ethereum blockchain a gas fee has to be paid.
However, using an API is a little bit unpredictable. If any changes are made to how it works it could potentially break it entirely. As i can't make any changes to it after its minted it could prove a problem if the API stops working or if the value of Ethereum increases a lot and breaks the displacement
Another problem is that the gas price doesn't fluctuate that much it hovers around the same numbers mostly with some dips outside of this. As a result the displacement strength doesn't change that much. I could artifically create some dips to make it more random.
Going forward i could try to explore different models. E.g. maybe i could have Greta Thunberg's head (part of popular culture and also a well known environmental activist. Don't think she has ever spoken on NFTs unfortunately) instead with changing emotions. Alternatively do the same displacement on the head. Also adding a back up for the interaction would be nice as well, not just the gas price.
No comments:
Post a Comment