JSFiddle - React, Tailwind, and code Playground

by Rishi Kumar

HTML

<!DOCTYPE html>
<html>
 <body>
 <canvas id='c'></canvas>
  <script>
    var c = document.getElementById('c');
    var gl = c.getContext('webgl') || c.getContext("experimental-webgl");
    gl.clearColor(1,0,2,1);
    gl.clear(gl.COLOR_BUFFER_BIT);
    console.log(gl);
</script>
</body>
</html>