Kino.Canvas README
Install
Mix.install(
[
{:kino_canvas, github: "jeregrine/kino_canvas"}
]
)
Generate a 300x300 canvas and draw to it.
KinoCanvas.new(300, 300)
|> KinoCanvas.API.set_line_width(10)
|> KinoCanvas.API.stroke_rect(100, 100, 100, 100)
|> KinoCanvas.API.fill_rect(0, 0, 100, 100)
|> KinoCanvas.API.fill(100)
|> KinoCanvas.render()