Voici le résultat:
J'ai copié la sélection entre
t1.beginPath();
et
t1.fillStyle = "blue";
t1.fill();
t1.closePath();