v1.4.0 Latest Latest

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

Go to latest
Published: Nov 15, 2019 License: MIT Imports: 1 Imported by: 0


WASM (Webassembly) support

Thanks to the syscall/js package included into the Go base, Pigo has been ported to WASM 🎉. This gives a huge gain in terms of real time performance.

This means that there is no need anymore to run it in a Python environment as a shared object library. For more details check the project description from the Readme file and also the blog post.

How to run it?

First download and build the serve package for making a simple webserver. Then simply type the $ serve command to build the wasm file and start the webserver. That's all. It will open a new page under http://localhost:5000/.

In case the lib.wasm is not generated automatically you can build yourself running the following command:

$ GOOS=js GOARCH=wasm go build -o lib.wasm wasm.go

Supported keys:

s - Show/hide pupils
c - Toggle circle/rectangle detection mark


Rendered for js/wasm
The Go Gopher

There is no documentation for this package.


Path Synopsis

Jump to

Keyboard shortcuts

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