https://github.com/m-py/jexp
Faciliates creation of browser experiments using JavaScript
https://github.com/m-py/jexp
Last synced: 10 months ago
JSON representation
Faciliates creation of browser experiments using JavaScript
- Host: GitHub
- URL: https://github.com/m-py/jexp
- Owner: m-Py
- License: gpl-2.0
- Created: 2015-03-02T08:25:06.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2017-02-17T14:26:12.000Z (about 9 years ago)
- Last Synced: 2023-11-23T19:00:30.094Z (over 2 years ago)
- Language: JavaScript
- Homepage:
- Size: 204 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# jExp
**jExp is a JavaScript framework that will enable you to run psychological experiments in your browser.**
At the moment it is in developement and can be used to control the timing and display of plain html and html canvas stimuli in a browser. However, the reaction time and event recording is not yet fully implemented. If you are looking for a more mature platform to program your browser experiments in, consider jspsych.
## TO DO
### major problems
- fix bug that causes experiment canvas height larger than window height -- this is probably a browser side problem
- i reduced size by 30px, but there must be a better way (or is there?)
### to be worked on
0. implement html features and refine integration with canvas
+ first: finalize DOMC and MC items (especially data storage)
+ modularize data storage, presentation, and integration with the jExp environment!
1. pack everything into a proper namespace and reduce possible name space conflicts (see http://learn.jquery.com/using-jquery-core/avoid-conflicts-other-libraries/)
2. Make Stimulus.waitEvent() more flexible -- sort of done
+ add callbacks that can react on any user-defined events!
+ solution: call showNext directly from within Stimulus method! (current solution: set duration to negative number so that the timer does not run out)
3. Add possibility to insert images (probably only works in 'html' mode)
5. Set up Wiki and a tutorial
6. (see 2) implement possibility to use canvas OR html presentation
+ make this a Stimulus property? presentationType = "canvas" or "html"
7. add accessible API, which can be used to append functions to stimuli; these functions must have access to Experiment and Stimulus properties, which is the most difficult thing to implement in an easy API
### minor
1. Implement more stimuli features in new Stimulus implementation (rectangle, triangle, ...)
2. implement functions to manipulate experimental flow?
+ it already works quite well by using common for-loops (see Simon experiment)
3. Work on data storage
+ results are saved to a JSON string.
+ Implement functions that analyze data?
+ Server interaction?