mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-24 04:01:46 +00:00
Make the game-of-life example a bit more interesting
This moves the entire image buffer to WASM that now also applies some fading.
This commit is contained in:
@ -17,7 +17,7 @@ canvas { position: absolute; top: 60px; left: 20px; width: calc(100% - 40px); he
|
||||
( <a href="https://github.com/AssemblyScript/assemblyscript/blob/master/examples/mandelbrot/assembly/index.ts">source</a> )
|
||||
</h1>
|
||||
<canvas></canvas>
|
||||
<script>
|
||||
<script>"use strict";
|
||||
|
||||
// Set up a 2D rendering context
|
||||
var cnv = document.getElementsByTagName("canvas")[0];
|
||||
|
Reference in New Issue
Block a user