<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Announcing blank-canvas 0.4.0, a Haskell binding to the complete HTML5 Canvas API. <div>blank-canvas allows Haskell users to write, in Haskell, interactive images onto their web</div><div>browsers, via a specialized JavaScript DSL. </div><div><div><br></div><div>First Example:</div><div><br></div><div>{-# LANGUAGE OverloadedStrings #-}</div><div>module Main where</div><div><br></div><div>import Graphics.Blank -- import the blank canvas</div><div><br></div><div>main = blankCanvas 3000 $ \ context -> do -- start blank canvas on port 3000</div><div>        send context $ do -- send commands to this specific context</div><div>                moveTo(50,50)</div><div>                lineTo(200,100)</div><div>                lineWidth 10</div><div>                strokeStyle "red"</div><div>                stroke() -- this draws the ink into the canvas</div></div><div><br></div><div><img apple-inline="yes" id="316D5FCB-A411-447D-94BF-661F4783372F" height="220" width="620" apple-width="yes" apple-height="yes" src="cid:F2E22453-0906-4F25-AA24-113AD601AE7C"></div><div>There are around 50 examples on the blank-canvas wiki:</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">   </span><a href="https://github.com/ku-fpg/blank-canvas/wiki">https://github.com/ku-fpg/blank-canvas/wiki</a></div><div><br></div><div>Enjoy!</div><div><br></div><div>FPG@KU</div><div><br></div></body></html>