Skip to content

zk-tarts/8by8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

8by8

With this repository you can interact with some 8 by 8 pixel art stuffs in solidity.

/web

If you open the webpage at page.html,
you can draw your own 8 by 8 pixel arts with up to 4 colours and have them stored in a format that fits in 1 256 bit word.

This may be useful at some point in the future

/src

pixelArt.sol takes an input picture and gives you an svg art.t.sol verifys that the program works as expected

Usage

If wanting to work on solidity, download foundry so you can run forge and cast To run the tests, you will need python 3.10 or later.
there isn't much of a use yet its just an idea showcase.

Whats the point?

Maybe something game-related to store the items or the assets on chain.
Another idea I had was something of a mix between nifty.ink and a nouns-like daily auction where each day a blank canvas is sold and then u draw the art for it

where'd you get this idea / further reading?

thanks to https://georgjz.github.io/snesaa03/ and https://codepen.io/shshaw/post/vector-pixels-svg-optimization-animation-and-understanding-path-data

About

pixel art thing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published