As I noted to another commenter, this makes heavy and direct use of the Haiku APIs to do basically everything.
Haiku actually does have a full draw-call-forwarding remote desktop system, with an HTML5 client to boot, and you could run this through that, but it's kind of "experimental". For straight X11, using something like Xpra with a HTML5 client is probably what you want.
> That's because this isn't just any old stipple image, that stipple is actually the background of a full X server session running in your browser using HTML5 canvas.
Thank you!
(I ask because, as a side project I've been working on something that lets me have a more responsive laptop by offloading resource intensive graphical programs to another machine, and streaming the UI back to me. I guess it could be made to run in a browser.)
https://www.phoenixframework.org/
What techniques are you using, is remote desktop or a new desktop application framework?