go-wasm-demos

module
v0.0.0-...-0b38cba Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2023 License: MIT

README

Go WASM demos

WASM apps

  • audiotrack - Multi-worker audio FX chain using wrpc pipes.
  • benchmark - Byte throughput benchmark for WebWorker chains.
  • cube - 3D rotating cube using webgl. Use WASD and arrow keys to navigate.
  • streaming - Unix-y text processing on wrpc pipes.
  • triangle - 2D triangle using webgl.

direnv is required to load the environment. Install tusk to run tasks. To get started, run:

  • $ tusk generate
  • $ tusk build
  • $ tusk serve

Directories

Path Synopsis
cmd
cmdwasm
pkg
array
package array implements slice encoding, ArrayBuffer and TypedArray.
package array implements slice encoding, ArrayBuffer and TypedArray.
gfx
jsutil
Package jsutil provides general functionality for any application running on wasm.
Package jsutil provides general functionality for any application running on wasm.
wrpc
Package wrpc provides a pool of Workers that can run a chain of go functions by being piped into each other.
Package wrpc provides a pool of Workers that can run a chain of go functions by being piped into each other.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL