PyEtSimul: An Open-Source Python Framework for Eye-Tracking Simulation

Mohammadhossein Salari, Diederick C. Niehorster, Dan Witzner Hansen, Roman Bednarik
Proceedings of the ACM on Human-Computer Interaction (PACMHCI), 10(3) — ETRA '26 (2026)

PyEtSimul is an open-source Python framework for simulating video-based eye trackers by generating synthetic eye features through geometric modeling. The framework allows flexible 3D positioning of eyes, cameras, and light sources, with controlled variation of eye anatomical features and camera properties. It offers both conic and spherical cornea models to choose from, supports non-circular pupil shapes, size-dependent pupil decentration, eyelid occlusion, and camera lens distortion, and enables comparison of gaze estimation algorithms across calibrated and uncalibrated settings.

Code: github.com/mh-salari/pyetsimul

← Back to publications