To Draw Alphabet And Number Using Turtle Module
Project description
> To Draw Alphabet And Number Using Turtle Module
About Turtle:
- This project is made using in-built python library called “Turtle”.
- Turtle graphics is a popular way for introducing programming to kids.
- It was part of the original Logo programming language developed by Wally Feurzig and Seymour Papert in 1966.
Installation
Gui Installation (How To Use):
git clone https://github.com/C0DE-SLAYER/alphaturtle
cd alphaturtle
pip install -r requirement.txt
python alphaturtle_gui.py
To Use Function On Your Own / CLI (How To Use) :
pip install alphaturtle
Usage/Examples
Gui Usage :
1.Run using python alphaturtle_gui.py
2.Fill All The Requried Field
3.Hit The Draw Button :
CLI Usage :
If you have install alphaturtle using pip just run this in terminal/powershell/cmd :
alphaturtle -i python
For help run alphaturtle -h
Use Function Own :
Include alphaturtle in your project :
from alphaturtle import * # import aplhaturtle
import turtle # importing turtle module
SetVar(2, 5, 20, 'black', 'yellow', 0) # setting values
drawLetterP() # calling function to draw P
whiteSpace() # drawing whitespace
drawLetterY() # calling function to draw Y
whiteSpace() # drawing whitespace
drawLetterT() # calling function to draw T
whiteSpace() # drawing whitespace
drawLetterH() # calling function to draw H
whiteSpace() # drawing whitespace
drawLetterO() # calling function to draw O
whiteSpace() # drawing whitespace
drawLetterN() # calling function to draw N
turtle.hideturtle() # turtle method to hide the cursor
turtle.done() # To see the output
Limitations
- The code works fine for all capatial alphabets and numericals ,but not for special characters except dot and hipan
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
alphaturtle-1.1.tar.gz
(7.7 kB
view hashes)
Built Distribution
Close
Hashes for alphaturtle-1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ab5b5e95b0c5641a800b552510fb82c131c9a4dd45464d9468ce158ad58bc62 |
|
MD5 | e528105bfb6f983a07e88dbc7e75c4a9 |
|
BLAKE2b-256 | 7f089d0d9010c6ee5d4c585c368426b67db4c2443408bf522d406a828e3fa44d |