If you choose a link that does not exist, simply hit the right mouse button to return to this frame. To Go Back click here. This class first creates the graphical objects to be drawn and then initializes all trials with trial-specific condition information. It will control the collection of responses and will launch the results window.
Constructor collects parameters from the html file.
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.