Animate the Gradient Illusion by changing the background gradient dynamically.
Category Archives: Difficulty Level 4
Wundt Illusion with Python Turtle with Source Code
Write program to draw Wundt Illusion as shown. This is illusion is similar to Hering Illusion but with opposite effect.
Source Code:
import turtle
screen = turtle.Screen()
screen.setup(500,800)
screen.tracer(0,0)
screen.title('Wundt Illusion - PythonTurtle.Academy')
turtle.hideturtle()
turtle.speed(0)
def wundt():
turtle.color('blue')
for y in range(-380,400,40):
turtle.up()
turtle.goto(0,y)
turtle.down()
turtle.goto(-100,0)
turtle.up()
turtle.goto(0,y)
turtle.down()
turtle.goto(100,0)
turtle.color('red')
turtle.pensize(5)
turtle.up()
turtle.goto(-50,-350)
turtle.seth(90)
turtle.down()
turtle.fd(700)
turtle.up()
turtle.goto(50,-350)
turtle.seth(90)
turtle.down()
turtle.fd(700)
wundt()
screen.update()
Hering Illusion with Python Turtle
Similar to Cafe Wall illusion, the red lines are actually parallel. Read more about this illusion here.
Café Wall Illusion with Python Turtle
All lines are actually parallel! For more information about this illusion check out Wikipedia page.
Müller-Lyer Illusion Animation with Python Turtle
Animate the Müller-Lyer Illusion Effect with Python Turtle.
Random Filled Circles
Generate a list of random numbers as the radii of circles. Sort these numbers in reverse order and draw these circles with colors from hue value 0 to 1.
Random Asteroids in Space with Python Turtle
Continue from Random Asteroids project to draw several random asteroids in space.
What’s next?
Moving Asteroid in Space
Random Asteroids with Python Turtle
Randomize the regular Dodecagon to draw random asteroids.
What’s next?
Random Asteroids in Space
Google Logo with Python Turtle
Use Python Turtle do draw the following Google Logo:
Google Hangout Logo with Python Turtle
Draw the logo of Google Hangout Icon with Python Turtle.