0.1.0 β€’ Published 4 years ago

wasm-game-of-life-zhunor v0.1.0

Weekly downloads
4
License
-
Repository
-
Last release
4 years ago

Implemantation of following tutorial Rust and WebAssembly project using wasm-pack.

Built with πŸ¦€πŸ•Έ by The Rust and WebAssembly Working Group

About

πŸ“š Checkout the original template tutorial! πŸ“š

Be sure to check out other wasm-pack tutorials online for other templates and usages of wasm-pack.

🚴 Usage

πŸ‘ Boilerplate

Learn more about cargo generate here.

cargo generate --git https://github.com/rustwasm/wasm-pack-template.git --name my-project
cd my-project

πŸ› οΈ Build with wasm-pack build

wasm-pack build

πŸ•Έ What's under www?

Using (https://github.com/rustwasm/create-wasm-app)

npm init wasm-app www

create boilerplate for js & html

πŸ”‹ Batteries Included

  • wasm-bindgen for communicating between WebAssembly and JavaScript.

###Β TODO

  • console_error_panic_hook for logging panic messages to the developer console.
  • wee_alloc, an allocator optimized for small code size.

  • Publish to NPM with wasm-pack publish

0.1.0

4 years ago