Paint a simple picture on a pixel art board using turtle graphics! The board is a 6x6 grid, and can either be the background or foreground color, which you can choose between. If you like this project, I would appreciate if you starred it or even shared it with your friends.
First, enter a background color, and second enter a foreground color. Then the pixel art board will appear. It is broken into 36 sections in a 6 by 6 grid. For each section, enter a 0 if you want it to be the foreground color and a 1 if you want it to be the background color. Please only enter 1s and 0s. The sections go across, then down to the next line. See some examples below.
I would recommend running this on Replit, as that is how I have been doing it. Just copy and paste the code from mainCode.py into a new project and hit run! I think you can also clone this repository and run it through terminal on a device with python installed.
Minecraft Creeper
Green
Black
0 0 1 1 0 0
0 0 1 1 0 0
1 1 0 0 1 1
1 0 0 0 0 1
1 0 0 0 0 1
1 0 1 1 0 1
Smiley Face
Yellow
Black
1 1 1 1 1 1
1 0 1 1 0 1
1 1 1 1 1 1
0 1 1 1 1 0
0 0 0 0 0 0
1 1 1 1 1 1
Sachin Agrawal: I'm a self-taught programmer who knows many languages and I'm into app, game, and web development. For more information, check out my website or Github profile. If you would like to contact me, my email is github@sachin.email.
This package is licensed under the MIT License.