Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
React and Vue source codes as images (opensea.io)
1 point by fortyfather on Jan 12, 2022 | hide | past | favorite | 1 comment


~6 years ago I've created a lib to convert any text into the image and decode it back.

Each symbol char code is converted into the hex color and placed on the specific x & y. Brackets, curly brackets, colons, semicolons, or other statements like function, class are highlighted with their own color.

Just for fun - convert source code into the image - apply filters - decode image back into the code - WOW! the code is refactored kekw

Today, for some reason, I decided to convert the source code of the React and Vue into the art-code images and place it as the NFT tokens on the opensea platform

– React ArtCodes https://opensea.io/collection/react-sources-as-images - Vue ArtCodes https://opensea.io/collection/vue-sources-as-images

I will spend proceeds to support the open-source developers




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: