Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
D
demo_eye_tracking2
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
yangyishu
demo_eye_tracking2
Commits
c49e98fd
Commit
c49e98fd
authored
Sep 28, 2021
by
RebeccaHirst
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test sync
parent
b757e597
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
202 additions
and
171 deletions
+202
-171
demo_eye_tracking2-legacy-browsers.js
demo_eye_tracking2-legacy-browsers.js
+80
-66
demo_eye_tracking2.js
demo_eye_tracking2.js
+82
-71
demo_eye_tracking2.psyexp
demo_eye_tracking2.psyexp
+25
-2
index.html
index.html
+15
-32
No files found.
demo_eye_tracking2-legacy-browsers.js
View file @
c49e98fd
This diff is collapsed.
Click to expand it.
demo_eye_tracking2.js
View file @
c49e98fd
This diff is collapsed.
Click to expand it.
demo_eye_tracking2.psyexp
View file @
c49e98fd
<?xml version="1.0" ?>
<PsychoPy2experiment
encoding=
"utf-8"
version=
"2021.
1.4
"
>
<PsychoPy2experiment
encoding=
"utf-8"
version=
"2021.
2.3
"
>
<Settings>
<Param
name=
"Audio latency priority"
updates=
"None"
val=
"use prefs"
valType=
"str"
/>
<Param
name=
"Audio lib"
updates=
"None"
val=
"use prefs"
valType=
"str"
/>
...
...
@@ -16,6 +16,7 @@
<Param
name=
"Resources"
updates=
"None"
val=
"[]"
valType=
"fileList"
/>
<Param
name=
"Save csv file"
updates=
"None"
val=
"False"
valType=
"bool"
/>
<Param
name=
"Save excel file"
updates=
"None"
val=
"False"
valType=
"bool"
/>
<Param
name=
"Save hdf5 file"
updates=
"None"
val=
"False"
valType=
"bool"
/>
<Param
name=
"Save log file"
updates=
"None"
val=
"True"
valType=
"bool"
/>
<Param
name=
"Save psydat file"
updates=
"None"
val=
"True"
valType=
"bool"
/>
<Param
name=
"Save wide csv file"
updates=
"None"
val=
"True"
valType=
"bool"
/>
...
...
@@ -28,9 +29,29 @@
<Param
name=
"blendMode"
updates=
"None"
val=
"avg"
valType=
"str"
/>
<Param
name=
"color"
updates=
"None"
val=
"$[0,0,0]"
valType=
"str"
/>
<Param
name=
"colorSpace"
updates=
"None"
val=
"rgb"
valType=
"str"
/>
<Param
name=
"elAddress"
updates=
"None"
val=
"100.1.1.1"
valType=
"str"
/>
<Param
name=
"elDataFiltering"
updates=
"None"
val=
"FILTER_LEVEL_2"
valType=
"str"
/>
<Param
name=
"elLiveFiltering"
updates=
"None"
val=
"FILTER_LEVEL_OFF"
valType=
"str"
/>
<Param
name=
"elModel"
updates=
"None"
val=
"EYELINK 1000 DESKTOP"
valType=
"str"
/>
<Param
name=
"elPupilAlgorithm"
updates=
"None"
val=
"ELLIPSE_FIT"
valType=
"str"
/>
<Param
name=
"elPupilMeasure"
updates=
"None"
val=
"PUPIL_AREA"
valType=
"str"
/>
<Param
name=
"elSampleRate"
updates=
"None"
val=
"1000"
valType=
"num"
/>
<Param
name=
"elSimMode"
updates=
"None"
val=
"False"
valType=
"bool"
/>
<Param
name=
"elTrackEyes"
updates=
"None"
val=
"RIGHT_EYE"
valType=
"str"
/>
<Param
name=
"elTrackingMode"
updates=
"None"
val=
"PUPIL_CR_TRACKING"
valType=
"str"
/>
<Param
name=
"expName"
updates=
"None"
val=
"demo_eye_tracking"
valType=
"str"
/>
<Param
name=
"exportHTML"
updates=
"None"
val=
"on Sync"
valType=
"str"
/>
<Param
name=
"eyetracker"
updates=
"None"
val=
"None"
valType=
"str"
/>
<Param
name=
"gpAddress"
updates=
"None"
val=
"127.0.0.1"
valType=
"str"
/>
<Param
name=
"gpPort"
updates=
"None"
val=
"4242"
valType=
"num"
/>
<Param
name=
"logging level"
updates=
"None"
val=
"exp"
valType=
"code"
/>
<Param
name=
"mgBlink"
updates=
"None"
val=
"MIDDLE_BUTTON"
valType=
"list"
/>
<Param
name=
"mgMove"
updates=
"None"
val=
"CONTINUOUS"
valType=
"str"
/>
<Param
name=
"mgSaccade"
updates=
"None"
val=
"0.5"
valType=
"num"
/>
<Param
name=
"tbLicenseFile"
updates=
"None"
val=
""
valType=
"str"
/>
<Param
name=
"tbModel"
updates=
"None"
val=
""
valType=
"str"
/>
<Param
name=
"tbSampleRate"
updates=
"None"
val=
"60"
valType=
"num"
/>
<Param
name=
"tbSerialNo"
updates=
"None"
val=
""
valType=
"str"
/>
</Settings>
<Routines>
<Routine
name=
"loading_trial"
>
...
...
@@ -185,7 +206,7 @@
<Param
name=
"pos"
updates=
"constant"
val=
"(0, 0)"
valType=
"code"
/>
<Param
name=
"saveStartStop"
updates=
"None"
val=
"True"
valType=
"bool"
/>
<Param
name=
"shape"
updates=
"constant"
val=
"rectangle"
valType=
"str"
/>
<Param
name=
"size"
updates=
"constant"
val=
"(0.02
, 0.0
2)"
valType=
"code"
/>
<Param
name=
"size"
updates=
"constant"
val=
"(0.02
2, 0.02
2)"
valType=
"code"
/>
<Param
name=
"startEstim"
updates=
"None"
val=
""
valType=
"code"
/>
<Param
name=
"startType"
updates=
"None"
val=
"time (s)"
valType=
"str"
/>
<Param
name=
"startVal"
updates=
"None"
val=
"0.0"
valType=
"code"
/>
...
...
@@ -193,6 +214,7 @@
<Param
name=
"stopVal"
updates=
"constant"
val=
""
valType=
"code"
/>
<Param
name=
"syncScreenRefresh"
updates=
"None"
val=
"True"
valType=
"bool"
/>
<Param
name=
"units"
updates=
"None"
val=
"from exp settings"
valType=
"str"
/>
<Param
name=
"vertices"
updates=
"constant"
val=
""
valType=
"list"
/>
</PolygonComponent>
<MouseComponent
name=
"mouse_3"
>
<Param
name=
"clickable"
updates=
"constant"
val=
"calibration_square"
valType=
"code"
/>
...
...
@@ -257,6 +279,7 @@
<Param
name=
"stopVal"
updates=
"constant"
val=
""
valType=
"code"
/>
<Param
name=
"syncScreenRefresh"
updates=
"None"
val=
"True"
valType=
"bool"
/>
<Param
name=
"units"
updates=
"None"
val=
"from exp settings"
valType=
"str"
/>
<Param
name=
"vertices"
updates=
"constant"
val=
""
valType=
"list"
/>
</PolygonComponent>
<CodeComponent
name=
"tracking_code"
>
<Param
name=
"Before Experiment"
updates=
"constant"
val=
""
valType=
"extendedCode"
/>
...
...
index.html
View file @
c49e98fd
<!doctype html>
<html>
<head>
<title>
demo_eye_tracking2 [PsychoPy]
</title>
<meta
charset=
"UTF-8"
>
<head>
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"user-scalable=no"
>
<title>
demo_eye_tracking2 [PsychoPy]
</title>
<!-- styles -->
<link
rel=
"stylesheet"
href=
"https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.css"
>
<link
rel=
"stylesheet"
href=
"https://lib.pavlovia.org/psychojs-2021.1.4.css"
>
</head>
<body>
<link
rel=
"stylesheet"
href=
"https://cdn.jsdelivr.net/npm/jquery-ui-dist@1.12.1/jquery-ui.min.css"
>
<link
rel=
"stylesheet"
href=
"./lib/psychojs-2021.2.3.css"
>
</head>
<body>
<div
id=
"root"
></div>
<!-- external libraries -->
<script
type=
"text/javascript"
src=
"https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.0/jquery.min.js"
></script>
<script
type=
"text/javascript"
src=
"https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js"
></script>
<script
type=
"text/javascript"
src=
"https://cdnjs.cloudflare.com/ajax/libs/seedrandom/3.0.1/seedrandom.min.js"
></script>
<script
type=
"text/javascript"
src=
"https://cdn.jsdelivr.net/npm/pixi.js-legacy@5.3.3/dist/pixi-legacy.min.js"
></script>
<script
type=
"text/javascript"
src=
"https://cdnjs.cloudflare.com/ajax/libs/PreloadJS/1.0.1/preloadjs.min.js"
></script>
<script
type=
"text/javascript"
src=
"https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.24.0/moment.min.js"
></script>
<script
type=
"text/javascript"
src=
"https://cdnjs.cloudflare.com/ajax/libs/xlsx/0.16.7/xlsx.full.min.js"
></script>
<script
type=
"text/javascript"
src=
"https://cdnjs.cloudflare.com/ajax/libs/log4javascript/1.4.9/log4javascript.min.js"
></script>
<script
type=
"text/javascript"
src=
"https://cdnjs.cloudflare.com/ajax/libs/tone/14.7.61/Tone.js"
></script>
<script
type=
"text/javascript"
src=
"https://cdnjs.cloudflare.com/ajax/libs/howler/2.2.1/howler.min.js"
></script>
<script
type=
"text/javascript"
src=
"https://cdnjs.cloudflare.com/ajax/libs/pako/1.0.10/pako.min.js"
></script>
<!-- external libraries -->
<script
src=
"https://cdn.jsdelivr.net/npm/jquery@3.6.0/dist/jquery.min.js"
></script>
<script
src=
"https://cdn.jsdelivr.net/npm/jquery-ui-dist@1.12.1/jquery-ui.min.js"
></script>
<script
src=
"https://cdn.jsdelivr.net/npm/preloadjs@1.0.1/lib/preloadjs.min.js"
></script>
<!-- experiment -->
<script
type=
'module'
src=
'./demo_eye_tracking2.js'
></script>
<script
src=
"./demo_eye_tracking2.js"
type=
"module"
></script>
<!-- legacy browsers -->
<script
nomodule
type=
"text/javascript"
src=
"https://cdnjs.cloudflare.com/ajax/libs/babel-polyfill/7.6.0/polyfill.min.js"
></script>
<script
nomodule
type=
"text/javascript"
src=
"https://cdnjs.cloudflare.com/ajax/libs/url-search-params/1.1.0/url-search-params.js"
></script>
<script
nomodule
type=
"text/javascript"
src=
"https://lib.pavlovia.org/psychojs-2021.1.4.js"
></script>
<script
nomodule
type=
"text/javascript"
src=
"./demo_eye_tracking2-legacy-browsers.js"
></script>
</body>
<script
src=
"./lib/psychojs-2021.2.3.iife.js"
nomodule
></script>
<script
src=
"./demo_eye_tracking2-legacy-browsers.js"
nomodule
></script>
</body>
</html>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment