brownhci / WebGazer

WebGazer.js: Scalable Webcam EyeTracking Using User Interactions
https://webgazer.cs.brown.edu
Other
3.54k stars 536 forks source link

Basic heatmap example #292

Closed ct-martin closed 1 year ago

ct-martin commented 1 year ago

This adds a basic example of a heatmap. It's loosely based on the collision demo and is calibrated the same way (by the user clicking as needed). One note is that the mouse move handler is disabled because it was adding a lot of unwanted noise to the heatmap.

It's a pretty simple example (admittedly) but it does its purpose.

Regarding the image, it was chosen simply for being public domain; open to suggestions if you have something more interesting.

jeffhuang commented 1 year ago

Great, seems fine to include. We could link it from the main page at some point (maybe replacing SearchGazer, since that's legacy).

This also resolves: https://github.com/brownhci/WebGazer/issues/255