A writing tip for a pen, the pen being adapted to interface with a patterned writing surface and being provided with an optical means for detecting movement of the pen relative to the patterned writing surface, wherein the tip is for removably attaching to the pen.