near / bos-web-engine

Improved execution layer for NEAR decentralized frontend components
https://roc-docs.near.dev/
26 stars 6 forks source link

🔷 [Epic] Web API bindings #20

Open mpeterdev opened 11 months ago

mpeterdev commented 11 months ago

Applications should be able to access Web APIs like Canvas. This may require creating proxies to communicate with the outer window application with some constraints

### Tasks
- [ ] https://github.com/near/bos-web-engine/issues/363
mpeterdev commented 4 months ago

potentially useful for canvas support: https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvas

mpeterdev commented 4 months ago

potentially relevant: https://github.com/BuilderIO/partytown https://partytown.builder.io/forwarding-events Screenshot 2024-03-12 at 11 08 37 AM

andy-haynes commented 3 months ago

Example of OffscreenCanvas with three.js 😎 https://threejs.org/manual/?q=offsc#en/offscreencanvas