Skip to content
How to get a set of eyeballs that follow your cursor in python graphics
Profile icon

Note: Make sure not to run the repl until you finish "setting up the repl"

Setting up the repl

Step 1:

Create a python repl
Not python turtle, or any other variants, just a plain old snek Python repl.

Step 2:

Run any code that uses Python graphics. I always use Turtle. An easy way to do this is to just run this code:

import turtle t = turtle.Turtle() t.forward(20)

You should end up with something like this:

Screenshot 2020-09-16 at 9.47.11 AM - Display 1

It will be easier if you make that screen as large as possible.

Getting the eyeballs

Step 1

Move your cursor over the graphics. If your cursor is an "X", then you may have to make a new repl and repeat these steps.

Step 2

Right click

Screenshot 2020-09-16 at 9.47.53 AM

Step 3

Hover over the "games" section

Screenshot 2020-09-16 at 9.48.04 AM

Hover over "toys"

Screenshot 2020-09-16 at 9.48.15 AM

Step 5

Click "Xeyes"

Screenshot 2020-09-16 at 9.48.34 AM

Oh, and click the "X" on the Python turtle graphics window

Have a good day, and make sure to eat a potato stay safe!

You are viewing a single comment. View All
Profile icon

how do I enable/get the taskbar?

Profile icon

Right click on the emulated desktop