s.addEventListener('mousemove', (e) => {
  const rect = gl.canvas.getBoundingClientRect();
  px = (e.clientX - rect.left) * gl.canvas.width / gl.canvas.clientWidth;
  py = (e.clientY - rect.top) * gl.canvas.height / gl.canvas.clientHeight;
  render();
});
  



</script>
