diff --git a/_docs/gen.go b/_docs/gen.go index 01ee155a3..b44c58b89 100644 --- a/_docs/gen.go +++ b/_docs/gen.go @@ -150,6 +150,7 @@ var ( {Name: "noise", ThumbWidth: 320, ThumbHeight: 240}, {Name: "paint", ThumbWidth: 320, ThumbHeight: 240}, {Name: "perspective", ThumbWidth: 320, ThumbHeight: 240}, + {Name: "polygons", ThumbWidth: 320, ThumbHeight: 240}, {Name: "rotate", ThumbWidth: 320, ThumbHeight: 240}, {Name: "sprites", ThumbWidth: 320, ThumbHeight: 240}, {Name: "tiles", ThumbWidth: 240, ThumbHeight: 240}, diff --git a/docs/examples/polygons.html b/docs/examples/polygons.html new file mode 100644 index 000000000..3953396c5 --- /dev/null +++ b/docs/examples/polygons.html @@ -0,0 +1,40 @@ + + + + + + +Ebiten example - polygons + + + + + + + + +
+ +

Ebiten example - polygons

+ +

Go Playground page

+ +
+ + + + + diff --git a/docs/images/examples/polygons.png b/docs/images/examples/polygons.png new file mode 100644 index 000000000..58deae849 Binary files /dev/null and b/docs/images/examples/polygons.png differ diff --git a/docs/index.html b/docs/index.html index d70dd5ff3..5e888e16a 100644 --- a/docs/index.html +++ b/docs/index.html @@ -105,6 +105,8 @@ Ebiten example: paint
Ebiten example: perspective +
+ Ebiten example: polygons
Ebiten example: rotate