local canvas = Canvas.new(500, 500) drawData = canvas.data
-- The structure is an array of tables that contain path definitions: -- Here is an example:
local cell = drawData[1]
-- Where: -- cell[1] is the line thickness -- cell[2] is the line color -- cell[3] and above are coordinates, eg. {100, 100} -- cell[4] is {102, 99} -- cell[5] is {102, 98}
Cool, if you want feature suggestions: color palette, draw primitives, fill shapes, save images (this one might be achieved through https://wiki.gideros.rocks/index.php/Media and I think that with this same plugin you could also take a picture and use it as canvas)
Comments
local canvas = Canvas.new(500, 500)
drawData = canvas.data
-- The structure is an array of tables that contain path definitions:
-- Here is an example:
local cell = drawData[1]
-- Where:
-- cell[1] is the line thickness
-- cell[2] is the line color
-- cell[3] and above are coordinates, eg. {100, 100}
-- cell[4] is {102, 99}
-- cell[5] is {102, 98}
Likes: MoKaLux
Gonna have to study it
color palette, draw primitives, fill shapes, save images (this one might be achieved through https://wiki.gideros.rocks/index.php/Media and I think that with this same plugin you could also take a picture and use it as canvas)