Continuous Shape Report – MATLAB code to display shapes from a validated circular shape space and then record the response. Used to quantify memory resolution.
See Li, Liang, Lee, & Barense, 2020. JEP: General for more information.
Simultaneous Shape-Color Conjunction Task – Reconstruct memory resolution for multiple shape-color features from the same object, simultaneously in a single behavioral response. Code for the task, anonymized data, and pre-generated shape-color object stimuli available on OSF: https://osf.io/976ta/
See: Li, Fukuda, & Barense (2022), Cognition for more information.
Python code and code for online testing using an executable pipeline paired with “Zoom Classrooms”, available at Li*, Yuan*, Pun, & Barense (2023); AP&P.
Snake – The classic snake game built in MATLAB. To run, simply download the script linked, then run in your MATLAB console.
Sorting Visualization – You can use your own image or a matrix with random RGB values. Currently has the following algorithms: bubble sort, insertion sort, brick sort, and selection sort.
RGB values are sorted on perceived brightness (darkest on the left and lightest on the right), operationalized using the following formula:
Brightness = sqrt(0.299*(R)^2 + 0.587*(G)^2 + 0.114*(B)^2)