<div dir="ltr">Hello readers of Haskell-Cafe.<div><br></div><div>Yesterday I uploaded a new version of the processing library [1].</div><div><br></div><div>== What is this library for? ==</div><div><br></div><div>The library is oriented to create graphic applications that run in a web browser, with no need of running a server. It provides the user with a set of functions and combinators that can be used to create an abstract piece code. This code is rendered to the processing language syntax. Once the code is uploaded, using processing.js [2], the output code is runnable from any browser with JavaScript support. To quickly give you a taste of the library, look at this animation, created with a simple recursive function:</div>
<div><br></div><div><a href="http://daniel-diaz.github.io/projects/processing/mill.html">http://daniel-diaz.github.io/projects/processing/mill.html</a><br></div><div><br></div><div>The code is here:</div><div><br></div><div>
<a href="https://github.com/Daniel-Diaz/processing/blob/master/examples/mill.hs">https://github.com/Daniel-Diaz/processing/blob/master/examples/mill.hs</a><br></div><div><br></div><div>== What&#39;s new? ==</div><div><br>
</div><div>After a couple of weeks working hard to have this library properly working, I think it have reached a point of reasonable usability. As a proof, I have written a simplified version of the Pac-Man game [3]. However, although I have implemented some code optimizations, it seems that the game still does not run smoothly in every web browser. I will definitely keep trying to improve the performance of the code generated by the library.</div>
<div><br></div><div>I encourage you to try the library if you are interested, but keep in mind that it is still in an early stage, and may contain bugs, lack some important features, have an incomplete documentation or suffer from API changes.</div>
<div><br></div><div>== References ==</div><div><br></div><div>[1] Library at Hackage - <a href="http://hackage.haskell.org/package/processing-1.2.0.0">http://hackage.haskell.org/package/processing-1.2.0.0</a></div><div>[2] Processing.js - <a href="http://processingjs.org/">http://processingjs.org</a></div>
<div>[3] Pac-Man game - <a href="http://daniel-diaz.github.io/projects/processing/pacman.html">http://daniel-diaz.github.io/projects/processing/pacman.html</a></div></div>