https://github.com/7aimez/turtle_string
Useful tool that converts text to a turtle drawing
https://github.com/7aimez/turtle_string
lib python python-turtle text turtle
Last synced: 2 months ago
JSON representation
Useful tool that converts text to a turtle drawing
- Host: GitHub
- URL: https://github.com/7aimez/turtle_string
- Owner: 7aimez
- License: mit
- Created: 2025-11-26T11:47:25.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-12-18T11:07:38.000Z (3 months ago)
- Last Synced: 2025-12-21T02:48:44.309Z (3 months ago)
- Topics: lib, python, python-turtle, text, turtle
- Language: Python
- Homepage:
- Size: 924 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Turtle String
Converts a string into a turtle drawing
---
## About
This python script splits up the text, uses the letter functions to draw the letter using `t.goto(x, y)`, reletive to the bottom left corner of the letter, e.g. `t.goto(x+10, y+20)`.
## Features
- All letters (a-z)
- Special characters (`.`, `,`, `!`, `?`, `'`)
- Background colour
- Letter spacing
- Line spacing
- Text line width ('boldness')
## Requirements
- Python 2.5 or later
- Turtle libs
## Get Started
**Follow these steps to use _Turtle String_:**
### Manually
1. Clone the repo
```sh
git clone https://github.com/7aimez/turtle_string.git
```
3. Move into the source folder
```sh
cd turtle_string/src
```
4. Edit the setup dictionary just inside the `main()` function to your preferences
5. Run the program in _python_
```sh
python main.py
```
6. **Done!** Watch your text appear on the screen
### Automatically
Run [auto.sh](install/auto.sh) (for raw, use github.com/7aimez/turtle_string/raw/refs/heads/main/install/auto.sh), to automatically install Turtle String. Then, edit the setup dictionary just inside the `main()` function to your preferences. Finally, run the program in _python_:
```sh
python main.py
```
## Demo
**Demo of Turtle String in action**

## Contents
- [`src`](src/) - Contains source files and python code
- [`install`](install/) - Install _Turtle String_
- [`key`](key/) - Contains the key for lettering and the text arguments
- [`src/examples`](src/examples/) - Contains example of the code being used
## License
_Turtle String_ is under the MIT Licesnse. Read [LICENSE](LICENSE) to find out more.