hi,
i’m trying to make app to learn how to type fast, and i want to make graph using canvas but i can’t find any proper tutorial \ doc regarding canvas. Are there any resourceses regarding canvas ?
Honestly, it’s not that hard. You can see some examples and try doing the same.
Everything revolves around Frame
that is your toolbox. Use it’s methods to create geometry and draw text and then produce the Geometry
as the output.
To speed up the rendering you can use Cache
.
There’s a Canvas-based example on GitHub:
If you want to graph, I’d recommend plotters-iced
, which brings the plotters
crate in as an iced Widget: