Meme World is a 100% on-chain meme creator with an experimental on-chain drawing interface built with MUD 2.0.
It's fully functional and is currently live on Optimism, and it can be viewed here: https://memeworld.lol/
This project was built over 72 hours for AW Hack 2023. ✌️
Live NFT Collections:
- Templates - https://opensea.io/assets/optimism/0x3bc5003c695fd25dbc2c9ea1915ba90ed5041402
- Memes - https://opensea.io/assets/optimism/0x0068e6901ee983229027ae78f04e24febc72862f
Please avoid dark mode on OpenSea because SVGs are transparent 😰
Is it possible to store an entire hand-drawn picture on the EVM?
By leveraging the principles of MUD, I could capture each brush stroke, serialize it down to bezier curve anchor points, and render it as base64 encoded data, viewable on the browser as SVG.
The result? Magic.
Screen.Recording.2023-10-29.at.4.07.28.PM.mov
- Create a Template (for others to add captions to)
- Draw Lines (draw 1 line per on-chain transaction)
- Mint the Template as an NFT (ERC-721)
- Create a Meme (add captions to a template)
- Choose a Template
- Write a Caption
- Mint the Meme as an NFT (ERC-721)
The NFT's metadata is stored 100% on-chain; there's no IPFS or external place for storing the data.
- Different color pens
- Undo / erase / clear feature
- Share friendly URL
- Proof-of-Sketch - additional security layer for hand-drawn digital signatures?
- On-chain SVG Library - there's much room for improvement