<!DOCTYPE html>
<html>
<head>
   <title>WebSocket echo</title>
   <link rel="stylesheet" href="/style.css">
</head>
<body>
   <div id="container">
      <label for="canvas">Live noise</label>
      <canvas id="canvas" width="512" height="512"></canvas>
   </div>
   <script>

      rebind();

      var canvas = document.querySelector('canvas');
      var colors = [];


      function drawRects()
      {
         // Draw a 16x16 squares on the canvas
         var ctx = canvas.getContext('2d');
         const 