Coder Social home page Coder Social logo

jexp's Introduction

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

  1. 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)
  1. Add possibility to insert images (probably only works in 'html' mode)
  2. Set up Wiki and a tutorial
  3. (see 2) implement possibility to use canvas OR html presentation
  • make this a Stimulus property? presentationType = "canvas" or "html"
  1. 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)
  1. Work on data storage
  • results are saved to a JSON string.
  • Implement functions that analyze data?
  • Server interaction?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.