blaze33 / Way Of Life
Licence: mit
Conway's game of life implemented in JavaScript & WebAssembly, rendered to canvas.
Stars: ✭ 218
Programming Languages
javascript
184084 projects - #8 most used programming language
Labels
Projects that are alternatives of or similar to Way Of Life
Nebulet
A proof-of-concept microkernel that implements a WebAssembly "usermode" that runs in Ring 0.
Stars: ✭ 2,237 (+926.15%)
Mutual labels: webassembly
Binaryen.js
A buildbot for binaryen.js, a port of Binaryen to the Web, with TypeScript support.
Stars: ✭ 201 (-7.8%)
Mutual labels: webassembly
Flvplayer
🍭 FlvPlayer.js is a JavaScript player for decode flv to the canvas
Stars: ✭ 210 (-3.67%)
Mutual labels: webassembly
Javascriptmusic
Live coding music and synthesis in Javascript / AssemblyScript (WebAssembly)
Stars: ✭ 193 (-11.47%)
Mutual labels: webassembly
Argon2 Browser
Argon2 library compiled for browser runtime
Stars: ✭ 197 (-9.63%)
Mutual labels: webassembly
Sandspiel
Creative cellular automata browser game
Stars: ✭ 2,476 (+1035.78%)
Mutual labels: webassembly
Mednes
A cycle-accurate, cross-platform NES emulator written in C++
Stars: ✭ 189 (-13.3%)
Mutual labels: webassembly
Wasm Worker
Move a WebAssembly module into its own thread
Stars: ✭ 215 (-1.38%)
Mutual labels: webassembly
Spec
WebAssembly specification, reference interpreter, and test suite.
Stars: ✭ 2,458 (+1027.52%)
Mutual labels: webassembly
Ppci
A compiler for ARM, X86, MSP430, xtensa and more implemented in pure Python
Stars: ✭ 210 (-3.67%)
Mutual labels: webassembly
Wasm Rust Chip8
A WebAssembly CHIP-8 emulator written with Rust
Stars: ✭ 193 (-11.47%)
Mutual labels: webassembly
Wascc Host
Library for hosting actors and capability providers in a host process
Stars: ✭ 197 (-9.63%)
Mutual labels: webassembly
Wasmpatch
🧱Yet Another Patch Module for iOS/macOS via WebAssembly
Stars: ✭ 192 (-11.93%)
Mutual labels: webassembly
Customasm
💻 An assembler for custom, user-defined instruction sets! https://hlorenzi.github.io/customasm/web/
Stars: ✭ 211 (-3.21%)
Mutual labels: webassembly
Libauth
An ultra-lightweight, zero-dependency JavaScript library for Bitcoin, Bitcoin Cash, and Bitauth applications.
Stars: ✭ 205 (-5.96%)
Mutual labels: webassembly
Porcupine
On-device wake word detection powered by deep learning.
Stars: ✭ 2,606 (+1095.41%)
Mutual labels: webassembly
Vue
The progressive framework for WebAssembly applications.
Stars: ✭ 211 (-3.21%)
Mutual labels: webassembly
The Way of Life
Conway's game of life implemented both in JavaScript and in WebAssembly using a canvas element for rendering.
Installation
The npm package only links to the ES6 code so it's only usable as a dependency for now.
npm install --save-dev way-of-life
Usage
import {Engine, acorn} from 'way-of-life'
// initialize the game with an empty 40x40 matrix
const engine = new Engine(40, 40)
engine.init()
// initialize some living cells around the center of the matrix
acorn(engine, 20, 20)
// compute the next state of game
engine.computeNextState()
See the demo code for a more advanced usage.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].