Hand drawn line simulation in processing