svg-icons-0.4.0.2: Svg Icons and more
Safe HaskellSafe-Inferred
LanguageHaskell2010

Icons.Religion

Synopsis

Documentation

svgReligion :: [(String, Svg)] Source #

A list with all the icons of this module, together with appropriate names.

svgReligion :: [ (String , S.Svg) ]
svgReligion =
  [ (,) "xp"               xp
  , (,) "taijitu"         (taijitu "black" "white")
  , (,) "crossLatin"       crossLatin
  , (,) "crossOrthodox"    crossOrthodox
  , (,) "crescentAndStar"  crescentAndStar
  , (,) "starOfDavid"      starOfDavid
  , (,) "exampleHexagram" (iChingHexagram (8,8,7,8,7,7))
  ]

taijitu :: String -> String -> Svg Source #

You must provide both yin and yang colors

iChingHexagram :: (Int, Int, Int, Int, Int, Int) -> Svg Source #

Function to draw a hexagram from the Yi Ching (the Book of Mutations).

If all six numbers belong to {0,1} it draws only the hexagram lines. Otherwise, the numbers are printed right to their line

NOTE: as always with the Yi Ching, numbers go from bottom to top (the first number of the tuple corresponds to the lowest line)