<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>GPU.js Random Examples</title>
</head>
<body>
  <h2>CPU Random</h2>
  <canvas id="cpu-random-output"></canvas>
  <h2>WebGL1 Random</h2>
  <canvas id="web-gl-random-output"></canvas>
  <h2>WebGL2 Random</h2>
  <canvas id="web-gl2-random-output"></canvas>
</body>
<script src="../dist/gpu-browser.min.js"></script>
<script>
  let cpu, webGL, webGL2;

  cpu = new GPU({
    mode: 'cpu',
    canvas: document.getElementById('cpu-random-output