Advertisement
Guest User

uwu

a guest
Jul 15th, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.37 KB | None | 0 0
  1. local monitor = peripheral.wrap("right")
  2. local computer = term.redirect(monitor)
  3.  
  4. term.setBackgroundColor(colors.black)
  5. term.clear()
  6. term.setCursorPos(1, 1)
  7.  
  8. local w,h = term.getSize()
  9. local lineW = math.floor(w/16)
  10.  
  11. for i = 0,15
  12. do
  13.   local x1 = (i * lineW) + 1
  14.   local x2 = x1 + lineW
  15.   paintutils.drawFilledBox(x1, 0, x2, h, 2^i)
  16. end
  17. term.redirect(computer)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement