daily pastebin goal
83%
SHARE
TWEET

Untitled

a guest Feb 23rd, 2019 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local camera = peripheral.wrap("left")
  2. local array = " .,-=+xX#"
  3. local monitor = peripheral.wrap("right")
  4. local yp = 1
  5. monitor.clear()
  6. monitor.setTextScale(0.5)
  7. monitor.setCursorPos(1,1)
  8.  
  9. for j = -0.35,0.25,0.025 do
  10.   for i = -1,1,0.036 do
  11.     local d = camera.distance(i, 0-j)
  12.     local a = 1
  13.     if d > 0 then a = 2 + (8 - math.min(8, (d/1.2))) end
  14.     monitor.write(string.sub(array, a, a))
  15.   end
  16.   yp=yp+1
  17.   monitor.setCursorPos(1,yp)
  18. endpe
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top