domoszlai / purescript-bigcanvas

An infinte canvas like library for PureScript

Home Page:http://dlacko.org/blog/2018/03/16/purescript-canvas-event-handling-with-state/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

purescript-bigcanvas

BigCanvas is (will be) an infinte canvas like library.

It is being developed, currently only my experiments are available in the experiment folder. It is explained in a blog post at http://dlacko.org/blog/2018/03/16/purescript-canvas-event-handling-with-state/.

The sample code can be compiled like this:

$ pulp browserify --src-path experiment --optimise --to bigcanvas-experiment.js

You will need a minimal piece of HTML to be able to run it:

<html>
<head>
   <title>The BigCanvas experiment</title>
</head>
<body>
   <canvas id="canvas" width="600" height="600" style="border: 1px solid black;"/>
   <script src="bigcanvas-experiment.js"></script>
</body>
</html>

It is also available precompiled, online at http://dlacko.org/bigcanvas/experiment/.

About

An infinte canvas like library for PureScript

http://dlacko.org/blog/2018/03/16/purescript-canvas-event-handling-with-state/


Languages

Language:PureScript 100.0%