UNPKG

vectorengine

Version:

This is a minimal WebGL vector rendering engine written for AssemblyScript.

22 lines (17 loc) 377 B
<html> <head> <style> body { background-color: #3b3b3b; text-align: center; } </style> </head> <body> <canvas width="640" height="640" id="cnvs"></canvas> <script type="module"> import { runVectorGame } from "../lib/VectorEngine.js"; runVectorGame("cnvs", "helloworld.wasm", "gameLoop"); </script> </body> </html>