Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local component = require("component")
- local gpu = component.gpu
- local w, h = gpu.getResolution()
- while true do
- gpu.fill(1, 1, w, h, " ")
- gpu.setBackground(0xFFFFFF)
- gpu.setBackground(0xFFFFFF)
- gpu.fill(1, 1, w, h, " ")
- gpu.setForeground(0x00FF1A)
- gpu.setForeground(0x1D4722)
- gpu.setBackground(0x50C55C)
- gpu.fill(1, 1, w/2, h/2, "█") -- fill top left quarter of screen
- gpu.copy(1, 1, w/2, h/2, w/2, h/2) -- copy top left quarter of screen to lower right
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement