Skip to main content

Posts

Showing posts from June, 2022

Python turtle design Fast Tutorial 2

 Source Code: from turtle import* speed(0) fd(100) he = ('white','blue')   bgcolor("black") for i in range(200):       fillcolor(he[i%2])     def triangle(a,b,c):         lt(120)         fd(a-i)         lt(120)         fd(b-i)         lt(90)         fd(c-i)     begin_fill()     triangle(100,100,100)     left(90)     left(20)     left(90)     triangle(200,200,200)     right(120)     end_fill()     hideturtle() done()    

Python design Fast Tutorial 1

 Source Code: from turtle import* import colorsys speed(0) fd(100) he = 0.7   bgcolor("black") for i in range(200):       col = colorsys.hsv_to_rgb(he,1,1)     he+=0.004     fillcolor(col)     def triangle(a,b,c):         lt(120)         fd(a-i)         lt(120)         fd(b-i)         lt(90)         fd(c-i)     begin_fill()     triangle(200,200,200)     left(90)     left(20)     left(90)     triangle(200,200,200)     right(120)     end_fill()     hideturtle() done()    

How to find coordinates of any image in python?

How to Find Coordinates of  Any Image in Python.   What's up everyone, today we'll know the way of finding coordinates in python. So without wasting of time, let's go ahead. ==>Soon, I'm going to make a black and white image of 'Stylish Star Allu Arjun'. So, don't forget to subscribe my YouTube channel 'Coder Of Paradise'. #Requirements for finding coordinates. ** Firstly, You have to install sketchpy module. **To install sketchpy module, you have to use keyword ' pip install sketchpy==0.0.22 '. If you uses only ' pip install sketchpy ' then it will show error. **You can't find coordinates in Android or pydroid3, because sketchpy module uses canvas or cv2 module and cv2 module comes in premium of pydroid3. ** If you purchases pydroid3 premium may be that will work. **You can't find coordinates of any .svg image. But you can make .svg image to .jpg image by taking screenshot of your .svg image  **Now, The codes are here whic...