Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/justinclift/tinygo-webgl-fundamentals-lesson-5

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/justinclift/tinygo-webgl-fundamentals-lesson-5

  • v0.0.0-20190726095059-76e1b189d83b
  • Source
  • Go
  • Socket score

Version published
Created
Source

This is the 5th lesson of the WebGL Fundamentals code, ported from Javascript to TinyGo:

    https://webglfundamentals.org/

Running demo:

    https://justinclift.github.io/tinygo-webgl-fundamentals-lesson-5/

To compile the WebAssembly file:

$ tinygo build -target wasm -no-debug -panic trap -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

FAQs

Package last updated on 26 Jul 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc