This page contains instructive examples of online experiments, with instructions and a .zip download. Eventually it will also contain working demos (this requires some work to make sure that results are regularly deleted).
If you use these as a base for your own experiments, please be sure to credit the authors.
This example records audio in the browser, and allows the participant to play it back, as well as sending it to the server.
This example was written by Annie Holtz and Kenny Smith. It has been placed under an open license (a copy is included in the .zip file).
This example loads information on trials from a CSV file. It also demonstrates how to use a "debug" variable to curtail the number of trials, to make piloting for debug faster.
This example was written by Alisdair Tullo. It has been placed under an open license (a copy is included in the .zip file).
This example has participants click on squares in a grid. This then lights up the square on every other participant's grid. This uses a Python WebSocket server for communication between participants.
This example was written by Alisdair Tullo. It has been placed under an open license (a copy is included in the .zip file).