random exercise on vector field and 2d canvas