Skip to content

Instantly share code, notes, and snippets.

@supki
Created October 16, 2012 13:08
Show Gist options
  • Save supki/3899163 to your computer and use it in GitHub Desktop.
Save supki/3899163 to your computer and use it in GitHub Desktop.
UDMURTI SILA
{-# LANGUAGE NoMonomorphismRestriction #-}
{-# LANGUAGE UnicodeSyntax #-}
import Data.Colour
import Diagrams.Prelude
import Diagrams.Backend.Cairo.CmdLine
import Graphics.Rendering.Diagrams.Points
main ∷ IO ()
main = defaultMain flag
flag ∷ Diagram Cairo R2
flag =
stripeV black |||
solarSign `mappend` stripeV white |||
stripeV red
where
stripeV c = square 2 # scaleX 0.6 # fc c # lcA transparent
solarSign = star (StarSkip 3) (regPoly 8 0.40) # stroke # fc red # lcA transparent
@supki
Copy link
Author

supki commented Oct 16, 2012

UDMURT

@dmalikov
Copy link

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment