From f51618000e1d96543e5e0ad72219855e9dea42d8 Mon Sep 17 00:00:00 2001 From: tv Date: Fri, 4 Jun 2021 00:37:48 +0200 Subject: wip --- src/krebs.hs | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/krebs.hs (limited to 'src/krebs.hs') diff --git a/src/krebs.hs b/src/krebs.hs new file mode 100644 index 0000000..38170dc --- /dev/null +++ b/src/krebs.hs @@ -0,0 +1,24 @@ + + --Text.writeFile "/tmp/test" $ pp krebs + + krebs = let size = 16 in + Plain + $ Text.decodeUtf8With (\_ _ -> Nothing) + $ Sixel.render + --(Rectangle (fromIntegral $ termWidthPixels - (fromIntegral size) - 2 * termBorder) 60 size size) + (Rectangle (fromIntegral $ termWidthPixels - (fromIntegral size) - 2 * termBorder) 38 size size) + [(0,0,0),(228,0,43)] + [0,1,0,1,0,0,0,0,0,0,0,0,0,1,0,1 + ,1,1,0,1,0,0,1,1,0,1,1,0,1,1,0,1 + ,1,1,0,1,0,0,1,1,0,1,1,0,1,1,0,1 + ,0,1,1,1,0,0,0,1,0,0,1,0,0,1,1,1 + ,0,1,1,1,0,0,1,1,1,1,1,0,0,1,1,1 + ,0,0,1,0,0,1,1,1,1,1,1,1,0,0,1,0 + ,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,0 + ,0,0,0,0,0,1,1,1,1,1,1,1,0,0,0,0 + ,0,0,0,1,1,1,1,1,1,1,1,1,1,1,0,0 + ,0,0,0,1,0,0,0,1,1,1,0,0,0,1,0,0 + ,0,0,1,0,0,1,0,1,0,1,0,1,0,0,1,0 + ,0,0,1,0,0,1,0,1,0,1,0,1,0,0,1,0 + ,0,0,1,0,1,1,0,1,0,1,0,1,1,0,1,0 + ] -- cgit v1.2.3