Files
aego/tests/weblighting/index.html
T
sanspie 5eb1832907
ci-platforms / darwin amd64 smoke (push) Skipped
ci / build (amd64, linux, ubuntu-24.04) (push) Failing after 15m28s
ci / release (push) Skipped
ci-platforms / windows amd64 smoke (push) Skipped
ci-platforms / darwin arm64 smoke (push) Skipped
ci / checks (push) Successful in 7m47s
Complete Stage 12 for v0.12.0
2026-11-05 11:46:53 +03:00

15 lines
633 B
HTML

<!doctype html>
<meta charset="utf-8">
<title>Aego Lighting integration</title>
<link rel="icon" href="data:,">
<style>body{font:14px system-ui;background:#222;color:#eee}canvas{width:256px;height:256px;image-rendering:pixelated}</style>
<h1>Aego WebGL2 Lighting integration</h1>
<canvas id="surface" width="32" height="32"></canvas>
<script src="wasm_exec.js"></script>
<script>
const go = new Go();
WebAssembly.instantiateStreaming(fetch("lighting.wasm"), go.importObject)
.then(({instance}) => go.run(instance))
.catch(error => globalThis.aegoLightingResults = JSON.stringify({failures:[String(error)],passed:[]}));
</script>