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.2.tar.gz
(7.7 kB
view hashes)
Built Distribution
Close
Hashes for alphaturtle-1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7284b176543e7cd8b351b009adf6093f1fdccbd0aa2fd218b6d39df5eeb244d9 |
|
MD5 | 160359f1f354b9ec11eb0d5f6e230d7d |
|
BLAKE2b-256 | 1d35ee5c154d58216956b929c73c291fecc97620aeeb5e494def9acdec83920e |