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.

21 lines
639 B

# Hello World Example
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