Skip to content
Andy Gill edited this page Jun 18, 2014 · 3 revisions

«html5canvastutorials version»

{-# LANGUAGE OverloadedStrings #-}
module Main where

import Graphics.Blank

main = blankCanvas 3000 $ \ context -> do
    send context $ do
        moveTo(100,150)
        lineTo(450,50)
        lineWidth 15
        stroke()
Clone this wiki locally