21 lines
639 B
Markdown
21 lines
639 B
Markdown
|
# Hello World Example
|
||
|
|
||
|
![Screenshot](screenshot.png)
|
||
|
|
||
|
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
|