Skip to content

justinclift/wasmGraph1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A simple example using Go Wasm with the HTML5 Canvas (2D)

Online demo: https://justinclift.github.io/wasmGraph1/

This renders several basic objects from 3D space onto the 2D canvas as wireframe solids, performing various rotation, scale, and transform operations on them via matrix transforms.

Use the wasd, arrow, and numpad keys (including + and -) to rotate the objects around the origin. Use the mouse wheel to zoom in and out.

The code for this started from https://github.com/stdiopt/gowasm-experiments, and has been fairly radically reworked from there. 😄

About

Some old experimental WebAssembly code for Go 1.11

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published