The NFT Game of Life - Code Based NFTs on Hive

in #nfts3 years ago

NFT #69

Hi all,

A few days ago, @rishi556 and I(@cadawg) decided we needed to do something for April Fools. Based on that sentance you might expect this all to dissapear tomorrow - that won't be the case though.

We came up with an idea for a piece of software art, where just from an ID you can generate a unique piece of artwork, without human intervention. This took the form of the famous Conway's Game of Life - where each tile is generated from the ID of the card you bought.

How do I get some?

Head over to NFTMart and either purchase one that is already for sale, or to have a go at a new one, click the Buy NFTs button (after logging in) - this will allow you to mint the next patterns in the series for 0.5 Hive (a sum we thought would be a low barrier of entry for a little bit of fun in an amusing piece of artwork) - you can buy up to 15 in one transaction.

How do I view them

As soon as you buy them they will be visible in your NFTMart Inventory as GIFs (They may take a little while to load if it's the first time anyone has loaded the GIF) - If you want to see it in all it's glory though, you should visit LifeNFT.net and enter the ID of the card to see it in a canvas where you can mess with the frames per second, pause it and save individual frames and play around with your new piece of art.

I can haz gif?

Sure - if you go to LifeNFT.net and enter the ID, it'll give you a link to the GIF for your piece of art. If you don't want to use the site you can always fill it in as follows https://lifenft.net/image/id.gif

image.png

Where ID is the numeric ID of your NFT. or you can use https://lifenft.net/image/id/force.gif if you don't want us to show it as an embed in discord (like above)

We hope you find this idea fun and enjoyable.
P.S. Devs we left a guide on how to replicate it yourselves using your own code below

The lowdown (how to replicate for devs):

So firstly, to decide the initial state, sha512 hash the id of the card that we were given and use the first 484 bits to determine which pixels are on and which are off (1 = on, 0 = off), to determine the color of each pixel, hash the following x,y-id where x is the x coordinate, y is the y coordinate and id is the numeric issue ID of the NFT. Using this and the standard rules from the game of life you should be able to fully replicate our results.

or you could just grab the Source Code from Here

Sort:  

So nerdy, so awesome. !LUV 1

This is honestly brilliant I am obsessed with chaos theory so this just goes in hand 👏

Congratulations @nftgameoflife! You received a personal badge!

You powered-up at least 10 HIVE on Hive Power Up Day!
Wait until the end of Power Up Day to find out the size of your Power-Bee.
May the Hive Power be with you!

You can view your badges on your board and compare yourself to others in the Ranking

Check out the last post from @hivebuzz:

Hive Power Up Day - April 1st 2021 - Hive Power Delegation

Congratulations @nftgameoflife! You received a personal badge!

You powered-up at least 10 HIVE on Hive Power Up Day! This entitles you to a level 1 badge.
Participate in the next Power Up Day and try to power-up more HIVE to get a bigger Power-Bee.
May the Hive Power be with you!

You can view your badges on your board and compare yourself to others in the Ranking

Check out the last post from @hivebuzz:

Hive Power Up Day - April 1st 2021 - Hive Power Delegation

!WINE


Congratulations, @cryptoaeneas You Successfully Shared 0.100 WINE With @nftgameoflife.
You Earned 0.100 WINE As Curation Reward.
You Utilized 1/2 Successful Calls.

wine-greeting
Total Purchase : 24845.318 WINE & Last Price : 0.290 HIVE
HURRY UP & GET YOUR SPOT IN WINE INITIAL TOKEN OFFERING -ITO-


WINE Current Market Price : 0.270 HIVE

#48

I love the infinite ones.

Hi @nftgameoflife, you were just shared some LUV. :) Having at least 5 LUV in your wallet enables you to give up to 3 LUV per day, for free. See the LUV tokens in your wallet at https://hive-engine.com or learn about LUV at https://peakd.com/@luvshares https://ipfs.io/ipfs/QmZosc5B9VvqHJs1xVbLoxxGGc6BfmwJukG1dAr3J6PBLX

Cool! I just acquired one.

image.png

And minted 2 more!

image.png

I am very interested in this unique little project.

Its a fun little thing :)

Check out card #5, its really cool.

This is really cool! Love it

Neat. Have 189. Is this still minting or is it completed/ If completed what is the mint mumber total