blank-canvas-0.5: HTML5 Canvas Graphics Library

Safe HaskellNone
LanguageHaskell2010

Graphics.Blank.GHCi

Synopsis

Documentation

splatCanvas :: Options -> Canvas () -> IO () Source

splitCanvas is the GHCi entry point into blank-canvas. A typical invocation would be

GHCi> import Graphics.Blank
GHCi> import Graphics.Blank.GHCi

-- Adding commands to the canvas buffer
GHCi> splatCanvas 3000 $ ( .. canvas commands .. )

The system remembers if it has been called on a specific port before, and if so, uses the previous session.