Origin of PVector

How do i set the origin of a PVector to point other than the pre-defined top-left corner of screen?

With translate(). It changes point from where coordinate system starts. Tutorial of translations explains how to use it 2D Transformations / Processing.org

2 Likes