-
Notifications
You must be signed in to change notification settings - Fork 14
Semicircle
RyanGlScott edited this page Oct 9, 2014
·
4 revisions
{-# LANGUAGE OverloadedStrings #-}
module Main where
import Graphics.Blank
main :: IO ()
main = blankCanvas 3000 $ \ context -> do
send context $ do
beginPath();
arc(288, 75, 70, 0, pi, False);
closePath();
lineWidth 5;
fillStyle "red";
fill();
strokeStyle "#550000";
stroke();