Advertisement
Guest User

GPU

a guest
Oct 15th, 2019
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.21 KB | None | 0 0
  1. local component = require("component")
  2. local gpu = component.gpu
  3. local w, h = gpu.getResolution()
  4. gpu.fill(1, 1, w, h, " ")
  5. gpu.setForeground(0x000000)
  6. gpu.setBackground(0x9eff6e)
  7. gpu.fill(1, 1, w, h, " ")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement