a guest Feb 23rd, 2019 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- local camera = peripheral.wrap("left")
- local array = " .,-=+xX#"
- local monitor = peripheral.wrap("right")
- local yp = 1
- for j = -0.35,0.25,0.025 do
- for i = -1,1,0.036 do
- local d = camera.distance(i, 0-j)
- local a = 1
- if d > 0 then a = 2 + (8 - math.min(8, (d/1.2))) end
- monitor.write(string.sub(array, a, a))
RAW Paste Data