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).
- All letters (a-z)
- Special characters (
.,,,!,?,') - Background colour
- Letter spacing
- Line spacing
- Text line width ('boldness')
- Python 2.5 or later
- Turtle libs
Follow these steps to use Turtle String:
-
Clone the repo
git clone https://github.com/7aimez/turtle_string.git
-
Move into the source folder
cd turtle_string/src -
Edit the setup dictionary just inside the
main()function to your preferences -
Run the program in python
python main.py
-
Done! Watch your text appear on the screen
Run 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:
python main.pyDemo of Turtle String in action
src- Contains source files and python codeinstall- Install Turtle Stringkey- Contains the key for lettering and the text argumentssrc/examples- Contains example of the code being used
Turtle String is under the MIT Licesnse. Read LICENSE to find out more.
