It is the mechanism in “Etch A Sketch”, a drawing toy.
Two ends of the green rail are fixed to black and blue belts.
Two ends of the blue rail are fixed to red and orange belts.
Pink stylus has prismatic joints with the green and blue rails.
Violet pulleys have 3 belt grooves.
Brown pulleys have 2 belt grooves.
Turn the green knob to move the green rail along X axis (via brown, blue and black belts).
Turn the blue knob to move the blue rail along Y axis (via yellow, orange and red belts).
The pink line is trajectory of the pink stylus.