Graphic Functions in Lua