- Move the mouse to point the small red dot on the virtual screen, which is defined by the white squares.
- Click and drag the white square to redefine the virtual screen.
- The large red dot is the small red dot on the virtual screen mapped to the area of the real screen.
Source code: VirtualToCursor Draggable
Built with Processing