SVG loader and renderer for Ebiten.

Beoran c9167fdc5d WIP MVG. 2 năm trước cách đây
mvg c9167fdc5d WIP MVG. 2 năm trước cách đây
svg c9167fdc5d WIP MVG. 2 năm trước cách đây
testdata c9167fdc5d WIP MVG. 2 năm trước cách đây
.gitignore 18d7afeaf8 Add generated struct for Svg reading with manual types. 2 năm trước cách đây
LICENSE 18d7afeaf8 Add generated struct for Svg reading with manual types. 2 năm trước cách đây
README.md c9167fdc5d WIP MVG. 2 năm trước cách đây
go.mod c9167fdc5d WIP MVG. 2 năm trước cách đây

README.md

ebisvg

This was supposed to be an SVG 1.1 loader and renderer for Ebiten. But XML makes me angry, SVG is extremely complex, and the XML parser of Go language standard library is no fun to use at all.

Then I discovered that the inagemagick tool supports a text based vector format called Magic Vector Graphics, and it can convert SVG to MVG.

So I decided to implement an MVG interpreter for Ebiten in stead. This also has the advantage that you can "draw" vector images easily with a text editor or interactively from the command line.