Code Monkey home page Code Monkey logo

loomstimulus's Introduction

About

Looming is a term found in the study of perception. It refers to the rapid expansion in the size of any given image. As the image becomes increasingly large on the perceiver's retina, i.e., when an object looms, there is an automatic physiological response to perceive the object as an approaching object or surface, instead of one that is stationary or receding [1]. In the field of neurobiology and animal behaviour, a looming stimulus is often used to simulate approach of a predator. Responding to looming stimuli is so integral to an animal's survival in the wild that they do not habituate to repeated displays. It is therefore used by biologists to understand perception, predator response, social interactions and information flow.

This code is an implementation of a looming stimulus that can be timed and displayed using an iOS devices. A video example is also presented where we see damselfish (Dascyllus marginatus) in the red sea retreating into the coral head due to perceived threat of the loom.

Use

The above code is written using C++11 and tested on MacOS Sierra 10.12.5. Running the code requires MacOS and XCode to build. The grapics is done using Cinder 0.8.6. (https://libcinder.org/) a C++ library for creative coding.

Cite

If you use Tracktor, please cite it using this zenodo DOI:

DOI

Thank You for using and citing LoomStimulus!

References

  1. James J. Gibson, The Ecological Approach to Visual Perception: Classic Edition. Psychology Press. (2014).

loomstimulus's People

Contributors

vivekhsridhar avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.