Web-based perceptual study base code
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
data
study_images
README.md
article.css
data-zip.php
index.php
reset.css
resize_images.sh
screenshot.jpg
submit.php
survey.js

README.md

Web-based perceptual study codebase

example screenshot

This is nothing more than the .php/.javascript/.css/.html files we used to create the two-/four-alternative forced choice perceptual study for our Transactions on Graphics paper Ink-and-Ray: Bas-Relief Meshes for Adding Global Illumination Effects to Hand-Drawn Characters, [Sýkora et al. 2014].

I've left it in tact as a working demo, and hopeful it's obvious what to edit to customize.

It is based heavily off of code from Yotam Gingold.

To get an idea of the client-side interaction, try the live version.

On the server-side, upon completion of the survey simple plain text files of the responses in json format are generated and saved into:

/data/[experiment name]/[unique id].txt

Then you can suck out the individual data entries in batch using your favorite command line tools/scripting languages.

If your institution/government requires it, you might consider placing your IRB approval information on the first page of the survey.