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 details)
Built Distribution
File details
Details for the file alphaturtle-1.2.tar.gz
.
File metadata
- Download URL: alphaturtle-1.2.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc69cc89297f41e6ffc8a76f3a1a27d225c448970cbe7ace76d175d3aa7b4884 |
|
MD5 | 8265c3fc9212b736f9d5f58b6c93d437 |
|
BLAKE2b-256 | b4c5958b487ea8aefc0c9accd27b65b0a71ac59ff237b2eaa69eb7a34e1aa546 |
File details
Details for the file alphaturtle-1.2-py3-none-any.whl
.
File metadata
- Download URL: alphaturtle-1.2-py3-none-any.whl
- Upload date:
- Size: 7.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7284b176543e7cd8b351b009adf6093f1fdccbd0aa2fd218b6d39df5eeb244d9 |
|
MD5 | 160359f1f354b9ec11eb0d5f6e230d7d |
|
BLAKE2b-256 | 1d35ee5c154d58216956b929c73c291fecc97620aeeb5e494def9acdec83920e |