dotnet / Microsoft.Maui.Graphics.Controls

Experimental Microsoft.Maui.Graphics.Controls - Build drawn controls (Cupertino, Fluent and Material)
MIT License
651 stars 64 forks source link

[Experiment] GraphicsControls in the web #58

Open jsuarezruiz opened 2 years ago

jsuarezruiz commented 2 years ago

Create the basic stuff to have a Blazor .NET MAUI App and a SkiaSharp GraphicsView implementation to draw and allow to use the control on the web.

hintsofttech commented 2 years ago

can you please refer us a sample project for cross platform rendering including web ?

jsuarezruiz commented 2 years ago

Created an initial prototype here https://github.com/jsuarezruiz/alohakit-blazor-prototype

timahrentlov commented 2 years ago

I like this idea - and the impact it could have.

To have a <Canvas/> component in which with all the drawn controls could be placed. One could use the drawn controls as an alternative to HTML/CSS. For web and hybrid. With a full set of drawn controls (layouts, etc), and a state model closer to that of Flutter, one could almost be tempted to skip standard MAUI for a few projects :)

Perhaps Blazor is a more "natural fit" for the drawn controls. And an uncontested space.