This is called when the comparison line needs to change size. This is called when the the trial ends. This method returns a random function following a Gaussian distribution. This is called when the next button is pressed. When paint is called for the first time, we have access to the bounds of the canvas at that time.
Constructor collects parameters from the html file.
These parameters will control display features and will specify experimental variables. When paint is called for the first time, we have access to the bounds of the canvas at that time. This is important because the features of the lines, at the beginning of each trial, require this info. This method returns a random function following a Gaussian distribution. This is called when the next button is pressed.