2 ms·
Timing! I just pulled a 4AM night last night creating my first ever Lua library, svglover[0], to facilitate SVG display in LÖVE[1], for a roguelike. Motivation
by contingencies 10y ago
Timing! I just pulled a 4AM night last night creating my first ever Lua library, svglover[0], to facilitate SVG display in LÖVE[1], for a roguelike. Motivation was primitive[2] posted[3] last week. It's actually pretty easy to work with, even for lazy coders who find regex parsing acceptable like me[4] :) I'm no oldschool demo coder, but the coordinate transformation system is basically just a simple layer on top of an OpenGL pipeline. You don't even need viewbox, just groups with <g></g>
[0] https://github.com/globalcitizen/svglover https://github.com/globalcitizen/svglover [1] http://love2d.org/ http://love2d.org/ [2] https://github.com/fogleman/primitive https://github.com/fogleman/primitive [3] https://news.ycombinator.com/item?id=12539109 https://news.ycombinator.com/item?id=12539109 [4] Make it work first, then make it work fast.