How to get a set of eyeballs that follow your cursor in python graphics
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:
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
Step 3
Hover over the "games" section
Hover over "toys"
Step 5
Click "Xeyes"
Oh, and click the "X" on the Python turtle graphics window
Have a good day, and make sure to eat a potato stay safe!
Voters
Barry123
Wow this is fun!
MemeManHimself
@Barry123 Thanks!
SuperVictor64
how do I enable/get the taskbar?
MemeManHimself
@SuperVictor64 Right click on the emulated desktop
Uh so this is a tutorial on how to run a X11 program? I mean, can you not just start x and then run
xeyes
?@CodeLongAndPros idk. can you?
@MemeManHimself https://repl.it/@CodeLongAndPros/DarlingWoozyPlans#main.py