Numerical computation of rotation numbers of quasi-periodic planar curves