/wasm-canvas2d

A simple animation on Canvas2D with WebAssembly

Primary LanguageWebAssemblyDo What The F*ck You Want To Public LicenseWTFPL

WebAssembly Canvas2D example

A simple animation on Canvas2D with WebAssembly. See it live

Though it's not very valuable in terms of aesthetics, that example could help someone to dive into WebAssembly. It features:

  • Calls of JS functions from WebAssembly
  • Calls of WebAsm functions from JS
  • Using stack
  • Using simple loops

Please see canvas.wast for the annotated source.