Input: pink shaft.
Grey spindle is connected to the input via an Oldham coupling.
An eccentric fixed to the spindle slides in yellow frame.
The end mill must have as many as possible flutes to get smooth mortise.
This mechanism has not been verified in practice.