-
Notifications
You must be signed in to change notification settings - Fork 14
This is a JavaScript DSL. We keep as close as possible to what JavaScript does. Libraries on top of blank-canvas should use the typical Haskell style of function call.
By default, blank-canvas only accepts traffic from the local machine.
Further, you can set up a password-based authentication, using the middleware option,
and the authentication in module Network.Wai.Middleware.HttpAuth
, in the wai-extra package,
http://hackage.haskell.org/package/wai-extra.
blank-canvas is a reflection of the standard (2D) HTML5 canvas. So no. But it should be possible to translate the ideas. blank-WebGL, anyone?
Using a Shake script, or course. Even the wiki's on github are version controlled.
-
beginPath()
clears the old path so you can define a new one. -
closePath()
connects the first point with the last point [...].
closePath()
effects stroke, not fill.