Advertisement
Guest User

Untitled

a guest
Apr 18th, 2014
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.38 KB | None | 0 0
  1. local component = require("component")
  2. local w, h = component.gpu.getResolution()
  3. for y = 1, w do for x = 1, w do
  4.   component.gpu.setBackground(math.random(0xFFFFFF))
  5.   component.gpu.setForeground(math.random(0xFFFFFF))
  6.   component.gpu.set(x, y, string.char(math.random(string.byte('a'), string.byte('z'))))
  7. end end
  8. component.gpu.setBackground(0)
  9. component.gpu.setForeground(0xFFFFFF)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement