An infinte canvas like library for PureScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
experiment
src
.gitignore
README.md
bower.json

README.md

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/.