MRMYSTERY003 / Anime-Drawings

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Anime-Drawings

Hi there, If you have been following me in youtube you know what these files are, and if you don't know let me explain you

what is sketchpy

Sketchpy is a Python module for animating drawings of images. The sketchpy module is created on top of the turtle module in Python.

To install sketchpy on your computer, you can go to your command prompt (command line) and run the following command.

pip install sketchpy==0.0.1

if you want to know more about the package check this link

What are these files

The files which are available in this repo are the images which i have drawn which you can find in my youtube channel

you can use the following code to run the program

from sketchpy import canvas

obj = canvas.color_sketch_from_svg(" PATH FOR SVG FILE")
obj.draw()

replace the path of the svg file that you need to draw

or you can also use the following code

from sketchpy import canvas

obj = canvas.color_sketch_from_svg(None)
obj.draw(file = 'PATH FOR NPY FILE')

About


Languages

Language:Python 100.0%