Skip to content

kirito777sao/Draw-Luffy-With-Svg

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Draw-Luffy-With-Svg

Description

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.

Setup

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

License

This script is licensed under the MIT License.

About

Tool convert SVG to Turtle

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%