string.rotate = function(self, num)
self = string.sub(self, num+1)..string.sub(self, 1, num)
return self
end
local text = "rotate"
callbacks.add(e_callbacks.PAINT, function()
for _ = 1, #text do
print(text.."\n")
text = string.rotate(text, 1)
end
end)