Week 3: Animation Time, frame rate, review conditionals, loops, map()
In this week, I tried to use the time and steering behavior to create the animation time. However, I don't t know how to optimize the function to make it faster and smoother.
Text Use: AvenirNextLTPro-Demi.otf
var points = font.textToPoints (hour()+":"+minute()+":"+second(),20,300);
//console.log(points);
//show the ouline of texts
for (var i=0; i<points.length; i++) {
var pt = points [i];
var vehicle = new Vehicle (pt.x, pt.y);
vehicles.push(vehicle);
// stroke(255);