Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/justinclift/tinygo-webgl-fundamentals-lesson-3
The lessons code from WebGL Fundamentals Lesson 3, ported to TinyGo
https://github.com/justinclift/tinygo-webgl-fundamentals-lesson-3
go golang tinygo wasm webassembly webgl
Last synced: 24 days ago
JSON representation
The lessons code from WebGL Fundamentals Lesson 3, ported to TinyGo
- Host: GitHub
- URL: https://github.com/justinclift/tinygo-webgl-fundamentals-lesson-3
- Owner: justinclift
- License: bsd-3-clause
- Created: 2019-07-24T13:47:02.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-03-01T06:34:34.000Z (over 4 years ago)
- Last Synced: 2024-08-02T23:27:30.278Z (3 months ago)
- Topics: go, golang, tinygo, wasm, webassembly, webgl
- Language: Go
- Homepage: https://justinclift.github.io/tinygo-webgl-fundamentals-lesson-3/
- Size: 59.6 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-golang-repositories - tinygo-webgl-fundamentals-lesson-3
README
This is the 3rd lesson of the WebGL Fundamentals code, ported from Javascript
to TinyGo:https://webglfundamentals.org/
Running demo:
https://justinclift.github.io/tinygo-webgl-fundamentals-lesson-3/
To compile the WebAssembly file:
$ tinygo build -target wasm -no-debug -o docs/wasm.wasm main.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