text='demo_eye_tracking: starting webcam\n\nThis experiment demonstrates eye tracking via the webgazer library. \n\nYou should see your web-browser request access to your webcam. Please permit this and wait a little while.\n\nOnce you see see your webcam video in the top-left of the screen, click anywhere to continue...',
font='Arial',
pos=(0,0),height=0.04,wrapWidth=None,ori=0,
color='white',colorSpace='rgb',opacity=1,
languageStyle='LTR',
depth=0.0);
mouse=event.Mouse(win=win)
x,y=[None,None]
mouse.mouseClock=core.Clock()
# Initialize components for Routine "intro_calibatrion_trial"
intro_calibatrion_trialClock=core.Clock()
text_2=visual.TextStim(win=win,name='text_2',
text="demo_eye_tracking: calibatrion\n\nNow we'll calibrate the eye tracker. Please try to keep your head still and within the rectangle you see in your webcam video. When you do so, the rectangle turns green.\n\nIn the next part of this experiment, white squares appears at different locations on the screen. Please click each square with your mouse.\n\nClick anywhere to continue...",
font='Arial',
pos=(0,0),height=0.04,wrapWidth=None,ori=0,
color='white',colorSpace='rgb',opacity=1,
languageStyle='LTR',
depth=0.0);
mouse_2=event.Mouse(win=win)
x,y=[None,None]
mouse_2.mouseClock=core.Clock()
# Create some handy timers
globalClock=core.Clock()# to track the time since experiment started
routineTimer=core.CountdownTimer()# to track time remaining of each (non-slip) routine
# ------Prepare to start Routine "loading_trial"-------