This work provides mechanistic insights into the development of cardiac arrhythmia and establishes a new experimental use case for optogenetics in studying cardiac electrophysiology. The agreement between computational models and experimental observations provides evidence that wave train-induced pacemaker activity can originate in continuously depolarized tissue.