Software written or supported by the department

Some of the software we used for teaching and research is custom-written for the department. We're making some of it available for free use by non-profit, non-commercial organisations.

PsyScript3

This is a new version of PsyScript which runs in a web browser.

This is a complete re-write of PsyScript with the objective of allowing users to develop scripts using any HTML5-compliant browser and run experiments not just on Macs but also Windows, Unix, Linux, and tablets and smartphones which have web browsers. Experiments can be put on a web server, participants supplied with a URL, and the results gathered on the web server.

Click here for more information and a download link.

PsyScript2

This is a fully-fledged scriptable experiment generator. It can present pictures, sounds and QuickTime movies and accept feedback from the subject via keys on the keyboard, clicks on pictures, and/or the position of a sliding control. The experimenter can specify which information should be logged and the log is produced in a format suitable for reading or pasting into a spreadsheet or statistical analysis program.

PsyScript's scripting language provides ways of handling repetitions, procedures and tables of stimulus files. It allows for conditional execution depending on the subject's responses so that, for example, a correct response and an incorrect response can lead to completely different next steps.

Click here for more information and a download link.

Arduino Sketch

The Department uses Arduino boards for several purposes. One common use is as a controller for digital input/output: a way to interface a computer with external devices, and have the computer control them and/or take input from them. This is such a common use that we have developed a standardised Arduino Sketch (a program you load onto the Arduino board) for controlling and monitoring digital pins.

Click here for more information and a download link.

Text To PNGs

This small web application was written to reduce the tedium of making picture files of text for experiment generator packages. You enter a list of words or phrases, one per line, and it makes one image file (in PNG format) for each line of text you supplied. You can set your preferred typeface, size, colour, etc.

Obscure

This small web application obscures a certain proportion of an image with little clear squares allowing a background to show through. You can use it in experiments where you want to conceal different proportions of an image (e.g. a logo) and see whether the participant can still tell what the image is.

Click here for it.

If you actually use this for any real purpose, I'd appreciate it if you drop me a line. Thanks.

MirrorDraw

A web app which implements the old psychology experiment where you try to draw something but your hand moves left when you try to move it right. Sets the participant a maze task and scores them on how long their route is and how much of it is on the route. Includes all sorts of other rotations and reflections, too. Requires HTML5 so it won't work under Internet Explorer.

Click here for it.

If you actually use this for any real purpose, I'd appreciate it if you drop me a line. Thanks.

Travelling Salesman Problem toy

This is a JavaScript toy which attempts some naive solutions for the travelling salesman problem. It implements two iterative solutions, neither of which are very good, and a third which combines them together, which is surprisingly effective. You can enter your own coordinates or it will come up with them randomly.

Click here for it.

If you actually use this for any real purpose, I'd appreciate it if you drop me a line. Thanks.

HTML colour shower

A tiny JavaScript app that allows you to type an HTML colour code and see a big area of that colour.

Click here for it.