Go cross-platform glfw library for creating an OpenGL context and receiving events.
Go HTML
Switch branches/tags
Nothing to show
Clone or download
shurcooL Simplify SwapBuffers requestAnimationFrame sync.
There's still room for improvement, but at least this doesn't create as
many goroutines.
Latest commit 7dec056 Oct 18, 2017

README.md

glfw

Build Status GoDoc

Package glfw experimentally provides a glfw-like API with desktop (via glfw) and browser (via HTML5 canvas) backends.

It is used for creating a GL context and receiving events.

Note: This package is currently in development. The API is incomplete and may change.

Installation

go get -u github.com/goxjs/glfw
GOARCH=js go get -u -d github.com/goxjs/glfw

Directories

Path Synopsis
test/events events hooks every available callback and outputs their arguments.

License