function setup() { createCanvas(710, 400); $.getScript ( "uploads/alexmurphy1996/ball.js", function() { amount = amount; reset(); }); }