/AttentionTaskImageGenerator

Python script, which creates Full-HD images of an attention task.

Primary LanguagePythonMIT LicenseMIT

Attention Task Image Generator

This repository contains a Python script, which creates Full-HD images of an attention task (similar to d2 attention task). I used the tool for empirical research on program comprehension (see study repository). This means the script is personalized to my specific usage and probably not directly useful to you without changes. Moreover, some of the text is in German as we conduct studies with German participants.

Disclaimer: I am not a Python programmer. I'm always grateful for feedback on how to improve my code.

Further Features

I added a couple of more functions to generate images. They create images for some additional conditions for my studies: rest condition, grace period for last decision, eye-tracking calibration check.

Font

The text is generated with the Inconsolata font. The font licence is here: Inconsolata licence.

Setup

The project should run in any Python environment. It was developed and tested with the PyCharms IDE.

License

MIT License

Copyright (c) 2017 Norman Peitek