def setup background(220) v1 = createVector(1, 2, 3) v2 = createVector(3, 2, 1) div = createDiv("#{P5Vector.dot(v1, v2)}") div.position(10, 10) div.style('font-size', '14px') div.style('width', '100px') end