The API doesn't seem to be complete, for example the Calibration example uses webgazer.params.storingPoints, which is a Boolean that can be set. However if you use this, you will error, relating to the element 'plotting_canvas' not existing.
document.getElementById("plotting_canvas").getContext("2d");
In other words to use the storingPoints Boolean, the Application being build requires the main html page to include a Canvas element with the id 'plotting_canvas'. But this isn't in the API.
It would be great if the API included such info... unless I'm over stepping what what intended.
The API doesn't seem to be complete, for example the Calibration example uses webgazer.params.storingPoints, which is a Boolean that can be set. However if you use this, you will error, relating to the element 'plotting_canvas' not existing.
document.getElementById("plotting_canvas").getContext("2d");
In other words to use the storingPoints Boolean, the Application being build requires the main html page to include a Canvas element with the id 'plotting_canvas'. But this isn't in the API.
It would be great if the API included such info... unless I'm over stepping what what intended.