An arbitrary event and animation frame cycle class.