Run

run
run is a special function to allow Processing's functionality to move into other softwares (e.g. Rhino).

It is the only WhitePython command to not start with a w.

Every sketch in which you want to use draw and setup should use run.

Example:
import WhitePython as wp

#

v1 = wp.wVector(1,2)

#

def setup:

wp.wStrokeWeight(2)

def draw:

v1.jitter2D(0,1)

v1.draw

#

if __name__ == "__main__":

wp.run