Doc_code |

Cargando...
Buscando...
Nada coincide
Espacios de nombres | Variables
Referencia del archivo eyepop_game.py

Ir al código fuente de este archivo.

## Espacios de nombres
namespace | eyepop_game

## Variables
| eyepop_game.disp = libscreen.Display()
| eyepop_game.tracker = eyetracker.EyeTracker(disp)
| eyepop_game.keyboard = libinput.Keyboard(keylist=['space'], timeout=None)
| eyepop_game.log = liblog.Logfile()
| eyepop_game.inscreen = libscreen.Screen()
| eyepop_game.text
| eyepop_game.fontsize
| eyepop_game.resultscreen = libscreen.Screen()
dict | eyepop_game.feedbackscreens
| eyepop_game.colour
int | eyepop_game.score = 0
| eyepop_game.x = random.randint(200, constants.DISPSIZE[0] - 200)
| eyepop_game.y = random.randint(150, constants.DISPSIZE[1] - 150)
tuple | eyepop_game.targetpos = (x, y)
| eyepop_game.targetscreen = libscreen.Screen()
| eyepop_game.pos
| eyepop_game.r
| eyepop_game.fill
bool | eyepop_game.checked = False
| eyepop_game.t0 = disp.show()
int | eyepop_game.success = 0
int | eyepop_game.reaction_time = -1
int | eyepop_game.timeout = 1000
| eyepop_game.start = libtime.get_time()
| eyepop_game.gaze = tracker.sample()
| eyepop_game.dx = gaze[0] - x
| eyepop_game.dy = gaze[1] - y
tuple | eyepop_game.dist = (dx ** 2 + dy ** 2) ** 0.5