function rand()

in src/Canvas.js [21:23]


function rand() {
  return colors[~~(colors.length * Math.random())];
}