richardanaya / conifer

Apache License 2.0
37 stars 4 forks source link

WebAssembly support #8

Open richardanaya opened 4 years ago

richardanaya commented 4 years ago

I was thinking this morning that we could probably add support for web assembly using canvas and mouse events.

nbrr commented 4 years ago

Is it not a bit far from the framebuffer context? Here you seem to have some HTML5 rendering available. Or do you mean as an alternate input/rendering option? Abstracting Frame and input events so that they be agnostic to the rendering tool?

richardanaya commented 4 years ago

Yah, in theory we could figure out similar things like get canvas size and write pixels to a canvas, and also get mouse movement button down and up. Would be nice to keep this possible abstraction in mind to leave it open as a possibility. Might be a fun way to try out concepts before sending them to device. :)

richardanaya commented 4 years ago

Maybe we can think of some way to make our concept of time less based on libc.