muse-engine-32-webgl2 / webgl2-report.html
axonis22's picture
Muse Engine 32 WebGL2 release candidate
b6651cc verified
Raw History Blame Contribute Delete
1.4 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Muse WebGL2 report</title>
<style>
body{font-family:system-ui,Segoe UI,Roboto,Arial,sans-serif;background:#111;color:#eee;margin:0;padding:16px}
h1{margin:0 0 4px} .sub{color:#aaa;font-size:12px;margin-bottom:12px}
canvas{border:1px solid #333;background:#000;display:block;margin:12px 0}
table{border-collapse:collapse;width:100%;font-size:13px}
th,td{border:1px solid #333;padding:4px 6px;text-align:left}
th{background:#222}
.pass{color:#7fdb7f}.fail{color:#ff7b7b}
button{margin:4px 2px;padding:6px 10px;background:#222;color:#eee;border:1px solid #444;cursor:pointer}
button:hover{background:#333}
</style>
</head>
<body>
<h1>Muse WebGL2 report</h1>
<div class="sub">MIT, Copyright (c) 2026 Paul Buckingham / Axonis Pty Limited. The Axonis name and logo are not covered by the MIT licence.</div>
<div>
<label>Preference:
<input type="radio" name="pref" value="auto"> Auto
<input type="radio" name="pref" value="2"> WebGL2
<input type="radio" name="pref" value="1"> WebGL1
</label>
<button id="copyBtn">Copy report as text</button>
<button id="benchBtn">Run 10 s benchmark</button>
</div>
<canvas id="c" width="640" height="360"></canvas>
<div id="out"></div>
<script src="engine/gl2/muse-gl2-shaders.js"></script>
<script src="engine/gl2/muse-gl2.js"></script>
<script src="engine/gl2/webgl2-report.js"></script>
</body>
</html>