creating photo to ascii art by python Get link Facebook X Pinterest Email Other Apps - July 23, 2021 import ascii_magickri=ascii_magic.from_image_file(r"location of photo", columns=60,char='©') #location of photo and columns you want char of asciiascii_magic.to_terminal(kri) Get link Facebook X Pinterest Email Other Apps Comments
creating lord shiva 2 by turtle python apni programming - August 09, 2021 import turtle as t t.bgcolor("black") t.pencolor("black") t.fillcolor("white") t.penup() t.goto(-150,0) t.pendown() t.begin_fill() t.pensize(5) t.left(90) t.forward(20) t.right(90) t.forward(300) t.right(90) t.forward(20) t.right(90) t.forward(300) t.end_fill() t.penup() t.begin_fill() t.left(90) t.forward(10) t.pendown() t.left(90) t.forward(300) t.right(90) t.forward(20) t.right(90) t.forward(300) t.right(90) t.forward(20) t.end_fill() t.penup() t.begin_fill() t.backward(50) t.pendown() t.forward(20) t.right(90) t.forward(300) t.right(90) t.forward(20) t.right(90) t.forward(300) t.end_fill() t.pencolor("black") t.fillcolor("white") t.penup() t.goto(0,-23) t.left(90) t.forward(70) t.left(270) t.pendown() t.begin_fill() t.right(90) t.left(15) t.forward(50) t.right(15) t.forward(75) t.right(15) t.forward(50) t.left(15) t.right(165) t.forward(50) t.right(15) t.forward(75) t.right(15) t. forward(50) t.left(15) t.end_fill() t.penup() t.pen... Read more
creating half face lord shiva by python turtle - July 23, 2021 import turtle t1 = turtle.Turtle() t1.pensize(0) t1.speed(3) #t1.color("white", "white") t1.color("white", "blue") turtle.bgcolor("black") t1.begin_fill() t1.left(90) t1.forward(200) t1.left(120) t1.forward(200) t1.left(45) t1.forward(150) t1.left(30) t1.forward(100) t1.right(30) t1.forward(30) t1.left(40) t1.forward(80) t1.left(30) t1.forward(201) t1.left(126) t1.forward(110) t1.right(80) t1.forward(75) t1.left(168) t1.forward(130) t1.right(160) t1.forward(58) t1.left(70) t1.forward(40) t1.right(45) t1.forward(30) t1.left(150) t1.forward(20) t1.right(103) t1.forward(200) t1.left(180) t1.forward(30) t1.left(160) t1.forward(40) t1.left(40) t1.forward(40) t2 = turtle.Turtle() t2.pensize(0) t2.speed(0) t2.color("black", "black") t2.begin_fill() t2.right(90) t2.forward(158) t2.right(110) t2.forward(20) t2.left(160) t2.forward(30) t2.left(130) t2.forward(30) t3 = turtle.Turtle() t3.pensize(0) t3.speed(0) t3.color("bl... Read more
creating ravan using turtle python apni programming - October 15, 2021 import turtle import turtle as t t.hideturtle() t.bgcolor( "dark orange" ) t1=turtle.Turtle() t1.hideturtle() def pos1 (x , y): t1.penup() t1.goto(x , y) me t1.pendown() def pos (x , y): t.penup() t.goto(x , y) t.pendown() pos(- 80 , 130 ) t.right( 30 ) for i in range ( 3 , 13 ): t.pensize(i) t.left( 3 ) t.forward( 7 ) for i in range ( 13 , 3 , - 1 ): t.pensize(i) t.left( 3 ) t.forward( 7 ) pos(- 70 , 115 ) t.right( 60 ) for i in range ( 3 , 13 ): t.pensize(i) t.left( 3 ) t.forward( 6 ) for i in range ( 13 , 3 , - 1 ): t.pensize(i) t.left( 3 ) t.forward( 6 ) pos(- 60 , 100 ) t.right( 60 ) for i in range ( 3 , 13 ): t.pensize(i) t.left( 3 ) t.forward( 5 ) for i in range ( 13 , 3 , - 1 ): t.pensize(i) t.left( 3 ) t.forward( 5 ) t.color( "black" , "dark orange" ) pos(- 5 , 90 ) t.begin_fill() t.circle( 15 ) t.end_fill() t.color( "black" ) pos( 0 , 70 ) ... Read more
Comments
Post a Comment