Manually drawing pixels on canvas/quad

Hi! I want to create a pixel art editor, so i need to create a canvas on which i can draw pixels and then export it as image

As i understand, i need to create a new webgpu context? How can i do this if i’m right?

iced::widget::canvas is not what I need because it stores shapes, not pixels
Also “webgpu integration” example not that either because i want to integrate custom webgpu context/rendering pipeline(?) in my app, but not the other way around

Thank you in advance!

You could try using the shader widget:

1 Like