––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– THE ROCKING LINE ILLUSION (RLI) ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– This progressive web app (PWA) uses vanilla javascript to implement a demo of the Rocking Line Illusion (RLI) by Thornton & Todorović (2023). The name "rocking line" relates to the fact that the perception of line motion changes from veridical (horizontal) when scaled down. This version of the task can be run online through any web browser, or ideally can be added to the home screen of iOS or Android tablets, and run using the touch interface. You are free to use the task, to share it and/or modify the code in any way. Kindly cite the preprint or paper which you can find linked in the "info" button of the homescreen. Below are some further details on the default settings, slider and key functions and installation suggestions. For further questions about the task or the app, please use the contact email below: email: "ian.thornton [at] um.edu.mt" email: "dtodorov [at] f.bg.ac.rs" ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– LAUNCH PAGE ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– Click the "RLI Single" button to see the main illusion page, where you can manipulate parameters. Click the "RLI Multi" button to see a variant which is useful for comparing with static illusions. The "home" button that appears at the bottom of the demo page will bring you back to the launch page. The "i" for "info" button is used to show this text document. The "library" button will take you to the published paper. ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– DEMO PAGE(s) ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– The top of the screen shows current parameters. Scale is the target size in pixels. Speed is the pixel offset per frame. The frame rate should be locked to 60Hz. Contrast ranges from 0 (black) to 255 (white). By default, the target/background object(s) will always be moving. You can stop the motion at any point by setting the speed slider to 0. Choose the scale dimension you want to change using the pop-up menu. By default, the whole display will scale, and the speed will also slow. Reducing the scale, should allow you to experience a change in perceived target motion. This is the rocking line illusion! You can scale specific dimensions of target/flankers to see illusion variants. Try scaling the X-dimension of the target, for example, and you may experience non-rigid deformation. The CONTRAST pop-up allows you to select which dimension to change. By default, this will be the visible portion of the checkerboard background. Play with the contrast and speed to explore how these modulate the RLI. On laptop or desktop, you can also use the keyboard to adjust additional parameters. t will toggle the visibility of the target f will toggle the visibility of the flanking background tiles. p will toggle the visibility of the parameter display. 1-9 will set the speed directly. left/right arrow keys will step through scale levels. up/down arrow keys will adjust the background tile separation. Use the HOME button to return to the main menu. ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– 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/RLI/) 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, but should work on smaller devices. ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– HISTORY ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– The RLI was described by Ian M. Thornton & Dejan Todorović in 2023 Enjoy!! ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– FURTHER READING ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– Thornton, I. M. & Todorović, D. (2023). The rocking line illusion. iPerception, 14, 1-5, DOI: 10.1177/20416695231184388 Todorović, D. (2021). Polarity-dependent orientation illusions: Review, model, and simulations. Vision Research, 189, 54–80. https://doi.org/10.1016/j.visres.2021.09.003 –––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––