Size Perception

This example shows how to implement a matching experiment to investigate perceived size using psychWithJava package.


This program opens a Full Screen Exclusive Mode Window and displays images of object placed in a hallway at either near or far position. The observer is required to adjust the size of a 2-D disk to match that of the 3-D object at each trial.

Precompiled program

Precompiled program is in SizesMoA.jar, which is a self running file. You can run it directly from your browser. Alternatively, you can save the file on your local disk and run it with a mouse click or you can run it from a terminal (MS DOS prompt in MS Windows) with the command java -jar SizesMoA.jar. Note that running the jar file doesn't require installing the psychWithJava package.

Files needed to build the project

Building and running the project

See HelloPsychophysicist for instructions on how to build and run java projects.

Description of the project

  • Pure Java version Coming soon...
  • Matlab version
  • Mathematica version