ShadowPlay1

Untitled

Jun 14th, 2020 (edited)
34
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local component = require("component")
  2. local gpu = component.gpu -- get primary gpu component
  3. local w, h = gpu.getResolution()
  4. gpu.fill(1, 1, w, h, " ") -- clears the screen
  5. gpu.setForeground(0x000000)
  6. gpu.setBackground(0xFFFFFF)
  7. gpu.fill(1, 1, w/2, h/2, "X") -- fill top left quarter of screen
  8. gpu.copy(1, 1, w/2, h/2, w/2, h/2) -- copy top left quarter of screen to lower righ
RAW Paste Data