Using eye tracking / glaze data in creative coding with p5js


Hello! I created a service to expose eye-tracking data from Tobii to Javascript via web sockets. The animation below is a p5.js sketch connected to the service, and using the glaze position as the focal point of the animation. The drawing itself is based on example from the book Generative Design. The source code and more details are in Github. HD video of animation is in Vimeo.