Skip to content

A simple python code that makes use of Turtle to turn the canvas into a pixel art board.

License

Notifications You must be signed in to change notification settings

SachinSAgrawal/Pixel-Art-Board

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

Pixel Art Board

About

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.

Instructions

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.

Installation

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.

Examples

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 

Contributors

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.

License

This package is licensed under the MIT License.

About

A simple python code that makes use of Turtle to turn the canvas into a pixel art board.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages