Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- term.setBackgroundColor(colors.black)
- term.clear()
- local w, h = term.getSize()
- x = 1
- y0 = math.ceil(h/2)
- for i = 0,w,1 do
- term.setCursorPos(i,y0)
- write("-")
- end
- for i = 0,h,1 do
- term.setCursorPos(x+1,i)
- write("|")
- end
- term.setTextColor(colors.lime)
- for i = 0,2.1*math.pi,0.1 do
- y = (math.sin(i)*15)
- x = x+1
- term.setCursorPos(x,y+y0)
- --paintutils.drawPixel(x,y+y0,colors.green)
- write("·")
- end
- term.setCursorPos(3,1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement