<br><br><div class="gmail_quote">2009/12/4 M Xyz <span dir="ltr"><<a href="mailto:functionallyharmonious@yahoo.com">functionallyharmonious@yahoo.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<table cellspacing="0" cellpadding="0" border="0"><tbody><tr><td valign="top" style="font:inherit">Greetings, my name is M. This is my first time posting to a mailing list so forgive me if I've done something wrong. I just finished "Real World Haskell" and am currently working through "School of Expression". I am new to Haskell but I already love it. My question is this... <br>
<br>I am interested in doing graphics work in Haskell, but I am lost trying to pick a library. I've been designing engineering apps in Java for 6 years and I'll admit I've been coddled by its standard library, lol. I am looking for something very lightweight with the basic capabilities of Java's Graphics2D class (antialias, composite, clipping, transformation, simple drawing primitives, gradients). I want something simple and "lightweight" because my interest is to play with building higher level abstractions myself.<br>
<br>I use XP and Ubuntu so I'd prefer not to use the
Graphics-Win32 library used by "School of Expression" if there is a platform independent library. I've read through <a href="http://www.haskell.org/haskellwiki/Applications_and_libraries/Graphics" target="_blank">http://www.haskell.org/haskellwiki/Applications_and_libraries/Graphics</a> and the pertinent libraries seem to be Haven, HGL or Cairo via Gtk2Hs right? Which is the most popular/active and appropriate for a beginner to start working with?<br>
<br></td></tr></tbody></table></blockquote><div><br></div><div>I wrote <a href="http://hackage.haskell.org/package/timeplot">http://hackage.haskell.org/package/timeplot</a> and somewhat extended <a href="http://hackage.haskell.org/package/Chart">http://hackage.haskell.org/package/Chart</a> for that. Chart is based on Cairo and I found it (Cairo) very easy and intuitive to use, yet quite powerful and performant. However, it is not a combinator library although you can make one based on it, if that's what you're looking for. There are quite a few graphics libraries based on Cairo on hackage, which means I'm not alone :)</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><table cellspacing="0" cellpadding="0" border="0"><tbody><tr><td valign="top" style="font:inherit">Thank you!<br>
</td></tr></tbody></table><br>
<br>_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Eugene Kirpichov<br>Web IR developer, <a href="http://market.yandex.ru">market.yandex.ru</a><br>