import turtle
def draw_square(color,size):
turtle.fillcolor(color)
turtle.begin_fill()
for i in range(4):
turtle.forward(size)
turtle.left(90)
turtle.end_fill()
def draw_facebook_logo():
turtle.speed(2)
turtle.bgcolor("white")
turtle.penup()
turtle.goto(-80,60)
turtle.pendown()
# draw the blue background
draw_square('#3b5998',200)
# draw the white letter 'f'
turtle.penup()
turtle.goto(-50,60)
turtle.pendown()
turtle.color("white")
turtle.write("f", font=('Arial',120,'normal'))
#hide the turtle
turtle.hideturtle()
turtle.done()
draw_facebook_logo()
def draw_square(color,size):
turtle.fillcolor(color)
turtle.begin_fill()
for i in range(4):
turtle.forward(size)
turtle.left(90)
turtle.end_fill()
def draw_facebook_logo():
turtle.speed(2)
turtle.bgcolor("white")
turtle.penup()
turtle.goto(-80,60)
turtle.pendown()
# draw the blue background
draw_square('#3b5998',200)
# draw the white letter 'f'
turtle.penup()
turtle.goto(-50,60)
turtle.pendown()
turtle.color("white")
turtle.write("f", font=('Arial',120,'normal'))
#hide the turtle
turtle.hideturtle()
turtle.done()
draw_facebook_logo()
❤1
This media is not supported in your browser
VIEW IN TELEGRAM
Download The Source Code for this Animation https://github.com/SortedCoding/FingerPrintAnimation
❤1
This media is not supported in your browser
VIEW IN TELEGRAM
Download Source Code For This Animation https://github.com/SortedCoding/NavBarAnimation
❤1
import turtle as t
import colorsys as cs
t.tracer(2)
t.bgcolor('black')
t.pensize(2)
n = 100
h = 0
for i in range(500):
for i in range(4):
c = cs.hsv_to_rgb(h,1,1)
h += 1/n
t.color(c)
t.circle(49+i*5,90)
t.forward(100)
t.left(90)
t.right(10)
t.done()
import colorsys as cs
t.tracer(2)
t.bgcolor('black')
t.pensize(2)
n = 100
h = 0
for i in range(500):
for i in range(4):
c = cs.hsv_to_rgb(h,1,1)
h += 1/n
t.color(c)
t.circle(49+i*5,90)
t.forward(100)
t.left(90)
t.right(10)
t.done()
❤1
from turtle import *
speed(0)
def insta1(x,y):
penup()
goto(x,y)
pendown()
def insta2(x,y,f,c,c1,c2):
color(c)
insta1(x,y)
begin_fill()
for i in range(4):
forward(f)
circle(c1,c2)
end_fill()
def insta3(c,x,y,c1):
color(c)
begin_fill()
insta1(x,y)
circle(c1)
end_fill()
insta2(-150,-120,350,'pink',20,90)
insta2(-110,-70,260,'white',20,90)
insta2(-90,-50,220,'pink',20,90)
insta3('white',20,10,70)
insta3('pink',20,30,50)
insta3('white',110,160,15)
hideturtle()
done()
speed(0)
def insta1(x,y):
penup()
goto(x,y)
pendown()
def insta2(x,y,f,c,c1,c2):
color(c)
insta1(x,y)
begin_fill()
for i in range(4):
forward(f)
circle(c1,c2)
end_fill()
def insta3(c,x,y,c1):
color(c)
begin_fill()
insta1(x,y)
circle(c1)
end_fill()
insta2(-150,-120,350,'pink',20,90)
insta2(-110,-70,260,'white',20,90)
insta2(-90,-50,220,'pink',20,90)
insta3('white',20,10,70)
insta3('pink',20,30,50)
insta3('white',110,160,15)
hideturtle()
done()
❤2👍1