require 'tablefuncs' VERSION = 'v0.2' -- Global config table ---@class Config ---@field pointRadius number Radius of each grid point, relative to cellSize ---@field linePointRadius number Radius of line start/end points, relative to cellSize ---@field cellSize number Size of each grid cell ---@field lineStyle string love2d line style setting ---@field lineWidth number love2d line width setting ---@field menuLineWidth number love2d line width for buttons ---@field dragSensivity number drag sensivity, px Config = { pointRadius = 0.3, linePointRadius = 0.4, cellSize = 30, lineStyle = "smooth", lineWidth = 0.1, menuLineWidth = 4, dragSensivity = 5 } -- Colors table ---@enum Color Color = { white = { 1, 1, 1 }, red = { 1, 0, 0 }, green = { 0, 1, 0 }, blue = { 0, 0, 1 } }