Paper.js - How to set the duration of drawing vector or segment?

I need to set vectors(or segments) related to some routes, starting from point A and ending to point B in a certain time. Like a trip for example. Unfortunly I can't find how to set the time of drawing passing a value:

<script src="https://cdnjs.cloudflare.com/ajax/libs/paper.js/0.12.7/paper-core.js"></script>

var point1 = new Point(0, 0);
var point2 = new Point(110, 200);

var x = point2.x - point1.x;
// = 110 - 50 = 60
var y = point2.y - point1.y;
// = 200 - 50 = 150;

var vector = point2 - point1;

// Create a Paper.js Path to draw a line into it:
var path = new Path();

// Give the stroke a color
path.strokeColor = 'red';

var start = vector;

function onFrame(event) {
    if (event.count < 101) {
        path.add(start);
        start += new Point(1, 1);
    }
}