{"id":26274442,"url":"https://github.com/exios66/experiment_version66","last_synced_at":"2025-03-14T09:19:49.390Z","repository":{"id":280533715,"uuid":"942324835","full_name":"Exios66/Experiment_Version66","owner":"Exios66","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-12T21:58:25.000Z","size":6207,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-12T22:30:20.663Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Exios66.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-03T23:46:01.000Z","updated_at":"2025-03-11T13:51:39.000Z","dependencies_parsed_at":"2025-03-04T00:37:29.296Z","dependency_job_id":null,"html_url":"https://github.com/Exios66/Experiment_Version66","commit_stats":null,"previous_names":["exios66/experiment_version66"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Exios66%2FExperiment_Version66","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Exios66%2FExperiment_Version66/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Exios66%2FExperiment_Version66/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Exios66%2FExperiment_Version66/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Exios66","download_url":"https://codeload.github.com/Exios66/Experiment_Version66/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243551248,"owners_count":20309300,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-14T09:19:48.843Z","updated_at":"2025-03-14T09:19:49.358Z","avatar_url":"https://github.com/Exios66.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Experiment Version 66\n\nAn eye-tracking experiment using WebGazer.js and PsychoJS.\n\n## Overview\n\nThis project implements a web-based eye-tracking experiment using WebGazer.js for eye tracking functionality and PsychoJS for experiment control and data collection. The experiment includes calibration routines, gaze tracking visualization, and data collection capabilities.\n\n## Project Structure\n\nThe project has been reorganized into a more modular and maintainable structure:\n\n```\n/src\n  /js          - Core JavaScript experiment files\n  /lib         - External libraries (WebGazer, PsychoJS)\n  /modules     - ES module wrapper files\n  /data        - Experiment data files\n  /tests       - Testing utilities and diagnostic pages\n  /css         - Stylesheets (placeholder for future use)\n  server.js    - Enhanced Node.js server\n  index.html   - Main experiment entry point\n/start.js      - Startup script\n```\n\n## Getting Started\n\n1. Make sure you have Node.js installed on your system\n2. Clone or download this repository\n3. Start the server:\n\n```bash\nnode start.js\n```\n\n4. Access the experiment at http://localhost:8080 (or another port if 8080 is in use)\n\n## Available Test Pages\n\n- WebGazer Test: http://localhost:8080/tests/webgazer-test.html\n- Resource Test: http://localhost:8080/tests/resource-test.html\n\n## Features\n\n- **Eye Tracking**: Uses WebGazer.js to track eye movements via webcam\n- **Calibration**: Calibration routines to ensure accurate gaze tracking\n- **Data Collection**: Collection and storage of gaze data for analysis\n- **Debugging Tools**: Built-in debugging panel and error reporting\n- **Module Support**: ES module compatibility with fallback options\n\n## Technical Details\n\n### Server\n\nThe custom Node.js server provides:\n- Automatic routing for reorganized file structure\n- Proper MIME type handling for all file types\n- Module detection and appropriate headers\n- Error handling and source map support\n- Port selection fallback if default port is in use\n\n### Module System\n\nThe experiment supports ES modules with:\n- Automatic module detection\n- Module wrapper for compatibility\n- Fallback to non-module version when needed\n\n### Browser Requirements\n\n- Modern web browser (Chrome, Firefox, Edge recommended)\n- Webcam access for eye tracking functionality\n- JavaScript enabled\n\n## Troubleshooting\n\nIf you encounter issues:\n\n1. Check browser console for error messages\n2. Use the debug panel (toggle button in the bottom-right corner)\n3. Verify webcam permissions are granted\n4. Ensure all files are properly located in their respective directories\n\n## License\n\nSee LICENSE file for details.\n\n## Changelog\n\nSee CHANGELOG.md for detailed list of changes and improvements.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexios66%2Fexperiment_version66","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fexios66%2Fexperiment_version66","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexios66%2Fexperiment_version66/lists"}