1

I am using gloss http://hackage.haskell.org/package/gloss for very simple (static) pictures, using lines, and some scaling/translation. How could I output them in the SVG format?

d8d0d65b3f7cf42
  • 2,597
  • 15
  • 28
  • 1
    how simple? Are you using the gloss `display`, `animate`, `simulate`, or `play`? Can you post an example? One thought would be to map your picture elements to `Diagrams` objects, as `Diagrams` has an SVG backend. – ja. Apr 15 '14 at 21:09
  • 1
    nice, I wasn't aware of this. (For reference, http://projects.haskell.org/diagrams/ ) – d8d0d65b3f7cf42 Apr 16 '14 at 10:03

0 Answers0