It is a solution for an YouTuber request: tracing an eight-shaped line with constant velocity.
Two sprockets are both driving and of opposite rotary directions.Relative angular position between two sprockets can not be arbitrary to ensure that the chain can be in mesh with both sprockets at needed time.
A point on axis of revolute joint of any link draws the required line (in pink).