––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– HUMAN FORAGING ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– This progressive web app (PWA) uses vanilla javascript to implement a working version of the human foraging task introduced by Kristjánsson, Jóhannesson & Thornton (2014). Details of the task can be found in: Kristjánsson, Á., Jóhannesson, Ó.I., & Thornton, I. M. (2014). Common Attentional Constraints in Visual Foraging. PLoS ONE 9(6): e100752. doi:10.1371/journal.pone.0100752 This version of the task can be run online through any web browser, or ideally can added to the home screen of iOS or Android tablets, and run using the touch interface. You are free to use the task to collect data and/or modify the code in any way. We ask that you cite the above paper if you do make use of this resource. Below are some further details on the default settings, button functions, installation suggestions and task history. For further questions about using the task, contact Ian Thornton or Árni Kristjánsson via their university webpages https://www.um.edu.mt/profile/ianthornton https://english.hi.is/staff/ak or via email: "ian.thornton [at] um.edu.mt" and "ak [at] hi.is" ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– MAIN MENU ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– The FEATURE and CONJUNCTION buttons begin a new block of trials (with a unique block id). After each trial, an option is provided to continue collecting data or to return to the MAIN MENU. Blocks can thus contain as many or as few trials as needed. The EXPORT DATA button allows you to download the current session data as a .CSV file. Each row in the file is a separate file with all relevant details. Column headings should be self explanatory. Download will work online and on iPad or Android tablets. The CLEAR DATA button resets the local data storage. This will permanently remove any data collected during the current or previous sessions. A warning is give to confirm this action. ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– TASK INSTRUCTIONS ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– Feature Condition: Cancel the BLUE and YELLOW target objects using a mouse click or via touch. There are 40 target objects in total. Avoid selecting the distractor (red and green) objects. Try to select the targets as quickly as you can. Conjunction Condition: Cancel the RED CIRCLES and GREEN SQUARE target objects. ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– INSTALLING ON iPAD or ANDROID TABLET ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– 1. Open a web browser on the device. 2. Navigate to the server location for the app (https://maltacogsci.org/humanforaging/) 3. Locate the "Sharing" menu in your browser, where there should be an option "Add to Home Screen" 4. Confirm the "Add" request and the app "Human Forage" should appear as an icon on your device. The app will function exactly as a regular app, and no internet connection will be needed. The app is designed for standard iPAD-size devices, and may not work properly on small screens. We suggest you manually lock the device orientation if you will be collecting data from participants using a tablet. ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– TASK HISTORY ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– The app from the original paper was developed as a native iPad app using Objective-C and Xcode. Variants of the task have also been made by our group using Swift and MATLAB script. We have developed this js version to increase device portability. Enjoy!! Ian Thornton, March 2022. ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– RELATED WORK FROM OUR GROUP ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– (see https://ianthornton.com/#pubs or https://visionlab.is/publication/ for PDFs) Kristjánsson, Á., Jóhannesson, Ó.I., & Thornton, I. M. (2014). Common Attentional Constraints in Visual Foraging. PLoS ONE 9(6): e100752. doi:10.1371/journal.pone.0100752. Jóhannesson, Ó. I., Thornton, I. M., Smith, I. J., Chetverikov, A., & Kristjánsson, Á. (2016). Visual Foraging With Fingers and Eye Gaze. i-Perception, 7(2), 2041669516637279. Ólafsdóttir, I.M., Kristjánsson, T., Gestsdóttir, S., Jóhannesson, Ó.I., Kristjánsson, Á. (2016). Understanding visual attention in childhood: Insights from a new visual foraging task. Cognitive Research: Principles and Implications. Jóhannesson, Ó. I., Thornton, I. M & Kristjánsson, Á. (2017). Are foraging patterns in humans related to working memory and inhibitory control? Japanese Psychological Research doi:10.1111/jpr.12152 Kristjánsson, T., Thornton, I. M. & Kristjánsson, Á (2018). Time limits during visual foraging reveal flexible working memory templates. Journal of Experimental Psychology: Human Perception and Performance, 44(6), 827-835. Kristjánsson, T. & Kristjánsson, Á (2018). Foraging through multiple target categories reveals the flexibility of visual working memory. Acta Psychologica, 183, 108-115 Prpic, V., Kniestedt, I., Camilleri, E., Maureira, M. G., Kristjánsson, Á., & Thornton, I. M. (2019). A serious game to explore human foraging in a 3D environment. PLoS ONE 14(7):https://doi.org/10.1371/journal.pone.0219827 Thornton, I. M., de’Sperati, C., & Kristjánsson, Á. (2019). The influence of selection modality, display dynamics and error feedback on patterns of human foraging. Visual Cognition, 1–23. https://doi.org/10.1080/13506285.2019.1658001 Kristjánsson, Á., Ólafsdóttir, I.M. & Kristjánsson, T. (2019). Visual foraging tasks provide new insights into the orienting of visual attention: Methodological considerations. Springer Neuromethods Ólafsdóttir, I.M., Gestsdóttir, S. & Kristjánsson, Á. (2019). Visual foraging and executive functions: A developmental perspective. Acta Psychologica, 193, 203-213 Kristjánsson, T., Thornton, I. M., Chetverikov, A., & Kristjánsson, Á. (2020). Dynamics of visual attention revealed in foraging tasks. Cognition, 194, 104032. https://doi.org/10.1016/j.cognition.2019.104032 Thornton, I. M., Nguyen, T. T. N., & Kristjansson, A. (2020). Foraging Tempo: Human run patterns in multiple target search are constrained by the rate of successive responses. Quarterly Journal of Experimental Psychology, https://doi.org/10.1177/1747021820961640 Kristjánsson, Á., Björnsson, A.S. & Kristjánsson, T. (2020). Foraging with Anne Treisman: Features versus conjunctions, patch leaving and memory for foraged locations. Attention, Perception & Psychophysics. Tagu, J. & Kristjánsson, Á. (2020). Dynamics of attentional and oculomotor orienting in visual foraging tasks. Quarterly Journal of Experimental Psychology. Kristjánsson, T., Draschkow, D., Pálsson, Á., Haraldsson, D., Jónsson, P.O. & Kristjánsson, Á. (2020). Moving foraging into 3D: Feature versus conjunction-based foraging in virtual reality. Quarterly Journal of Experimental Psychology. Ólafsdóttir, I.M., Gestsdóttir, S. & Kristjánsson, Á. (2020). Age differences in foraging and executive functions: A cross-sectional study. Journal of Experimental Child Psychology, 198, October 2020, 104910. Thornton, I. M., Tagu, J., Zdravković, S., & Kristjánsson, Á. (2021). The Predation Game: Does dividing attention affect patterns of human foraging?. Cognitive Research: Principles and Implications, 6(1), 1-20. https://doi.org/10.1186/s41235-021-00299-w Ólafsdóttir, I.M., Gestsdóttir, S. & Kristjánsson, Á. (2021). The development of foraging organization. Attention, Perception & Psychophysics. Tagu, J. & Kristjánsson, Á. (2022). The selection balance: contrasting value, proximity and priming in a multitarget foraging task. Cognition, 218, 104935. –––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––