This script allows you to convert Scalable Vector Graphics (SVG) files into Turtle draw commands. Turtle graphics is a popular way to introduce programming concepts to beginners, and it provides a simple way to draw shapes and patterns on a screen using a virtual "turtle".
The script reads an SVG file and extracts the path data from it. It then converts the path data into a series of Turtle draw commands that can be executed by a Turtle graphics library. This enables you to take advantage of the rich graphics capabilities offered by SVG files and replicate them using the Turtle graphics library.
1. Clone the repository:
> git clone https://github.com/hoangmanhkhiem/draw-luffy-with-svg.git
2. Change into the project directory:
> cd draw-luffy-with-svg
3. Create a virtual environment:
> py -m venv venv
4. Activate the virtual environment:
> source venv/bin/activate (Linux)
> venv\Scripts\activate (Windows)
5. Install dependencies:
> pip install -r requirements.txt
This script is licensed under the MIT License.