GitXplorerGitXplorer
j

tinygo-vis1

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
25da9fabc1e540d033410093f3dda45126f82972

Set theme jekyll-theme-cayman

jjustinclift committed 5 years ago
Verified
bfaf8a8753d5e39fca76214aaca16b51dab04234

Recompiled with modern TinyGo

jjustinclift committed 5 years ago
Verified
95d6188a057847f99ad2b0be148ee8e1fe7c2f50

Ensure the canvas name matches what's being called

jjustinclift committed 6 years ago
Verified
3f81cf01e6cccbadc389cf25989892afd73e368e

Retrieve canvas width using clientWidth/clientHeight

jjustinclift committed 6 years ago
Verified
2283cd039e6c878cf7af07c4a2cea8be4a308369

Simplify code so we don't need the math library, add some notes

jjustinclift committed 6 years ago
Verified
90447d2c2d1747df3f714ca505571d9cded2399a

Browser resize events redraw the bar graph

jjustinclift committed 6 years ago

README

The README file for this repository.

This is just simple research code, to determine if the current state of TinyGo wasm can usefully present visualisation data for DBHub.io purposes.

To compile the WebAssembly file:

$ tinygo build -target wasm -no-debug -o docs/wasm.wasm wasm.go

To strip the custom name section from the end (reducing file size further):

$ wasm2wat docs/wasm.wasm -o docs/wasm.wat
$ wat2wasm docs/wasm.wat -o docs/wasm.wasm
$ rm -f docs/wasm.wat