summaryrefslogtreecommitdiff
path: root/beeite.lua
blob: 3931cb3fca201db8933f605fb76825540e95cd51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
local framebuf = require("framebuf")
local fb = framebuf.new()

fb:ppm(fs.open("img/goo.pnm","rb"))

local m = peripheral.wrap "bottom"
m.clear()
m.setTextScale(0.5)
local t = term.redirect(m)
local _, bee = pcall(function()
    fb:present()
end)
term.redirect(t)
print(bee)