A rendering engine library for Go supporting both SDL2 and WebAssembly (HTML Canvas) targets.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Noah Petherbridge e758c46d70 Change public API to use int instead of int32 everywhere 1 year ago
..
DejaVuSans.ttf Clean up repository for stand-alone release 1 year ago
README.md Clean up repository for stand-alone release 1 year ago
gopher.png Clean up repository for stand-alone release 1 year ago
main.go Change public API to use int instead of int32 everywhere 1 year ago
screenshot.png Clean up repository for stand-alone release 1 year ago

README.md

Hello World Example

Screenshot

This example program draws a yellow window, with a red “ridged” border and a blue Gopher that bounces around inside the bordered area. Some blue text with drop-shadow is also present.

The window can be resized and the gopher will find his way into the visible area if he ends up outside of it.

To run this example: go run main.go

Credits

Gopher image was created by Takuya Ueda (https://twitter.com/tenntenn) from https://github.com/golang-samples/gopher-vector

This example comes with the DejaVu Sans font. License information at https://dejavu-fonts.github.io/License.html