ai / offscreen-canvas

Polyfill for OffscreenCanvas to move Three.js/WebGL/2D canvas to Web Worker
MIT License
334 stars 13 forks source link

working with safari (mac/ios)? #31

Closed triple7 closed 2 years ago

triple7 commented 2 years ago

Been looking for a way to off load canvas manipulation and this seems to be the solution, as webkit nightly don't have any offscreenCanvas functionality. Is this working with safari?

ai commented 2 years ago

It will work, but use normal canvas without offscreen and web worker

triple7 commented 2 years ago

Thanks for the clarification. So it works with canvas, and have you tried 2D canvas and drawing images, graphicsContext('2d'), path, clip and matrix transform? Sorry for asking all of these, but these functions are required for my simulation.

Thanks for any pointer

On 14 Jan 2022, at 9:00 pm, Andrey Sitnik @.***> wrote:

It will work, but use normal canvas without offscreen and web worker

— Reply to this email directly, view it on GitHub https://github.com/ai/offscreen-canvas/issues/31#issuecomment-1013018932, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJHQFJ7KSTZX6YB7O5UFKTUV763PANCNFSM5L6MSEXQ. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you authored the thread.

ai commented 2 years ago

So it works with canvas, and have you tried 2D canvas and drawing images, graphicsContext('2d'), path, clip and matrix transform?

Nope. I used only three.js