Skip to content

domoszlai/purescript-bigcanvas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published