jspsych/plugins/jspsych-rdk.js
//Initialize the parameters for the aperture for further calculation

Initialize the parameters for the aperture for further calculation
Initialize the parameters for the aperture for further calculation
function initializeApertureDimensions() {
			if (apertureType == 1 || apertureType == 3) {
				horizontalAxis = verticalAxis = apertureWidth/2;
			}
			else if (apertureType == 2 || apertureType == 4) {
				horizontalAxis = apertureWidth / 2;
				verticalAxis = apertureHeight / 2;
			}
		}
function initializeApertureDimensions ( ) { if ( apertureType == 1 || apertureType == 3 ) { horizontalAxis = verticalAxis = apertureWidth / 2 ; } else if ( apertureType == 2 || apertureType == 4 ) { horizontalAxis = apertureWidth / 2 ; verticalAxis = apertureHeight / 2 ; } }
Initialize the parameters for the aperture for further calculation
Initialize the parameters for the aperture for further calculation
//For circle and square
 //For ellipse and rectangle
