Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
1 answer
1k views

Running iframe with large application in background without affecting main application,

The current application am working on needs another application to be loaded inside the app using iframe during app initilization. We are able to load the another app inside Iframe properly during app ...
Gajanan's user avatar
  • 140
1 vote
1 answer
174 views

Canvas API and Web worker

I know that canvas tags or any other tag can't be created inside of a web worker, but the web worker can make ajax calls. Would it be more efficient when drawing images to create a web worker, have ...
Caleb Prenger's user avatar
0 votes
1 answer
2k views

How to optimize canvas rendering for dynamic loading HTML5 game world?

I've been working on an isometric game engine for my own game. Currently, it's a big, open world with the map data being retrieved dynamically from the Node.js server.  To understand what I'm doing......
Ryan's user avatar
  • 21
1 vote
2 answers
3k views

HTML5 Canvas memory leak performance issue

I have 2 canvas elements, and I draw them in an interval of 125ms. Both of them must be completely redrawn due to the nature of their work, so it's not possible to re-draw only certain parts of them ...
roro's user avatar
  • 213
2 votes
3 answers
3k views

Image previews and web workers

Is it possible to use the filereader api within a web worker to load images i.e. for previews/thumbails, therefore preventing the main ui thread from blocking. Something like this but wrapping the ...
cjroebuck's user avatar
  • 2,263
1 vote
2 answers
388 views

Drawing in workers

I am trying to draw in a web worker using html5 canvas. The worker doesn't have access to the DOM so I can't draw on a canvas from the web worker. This other stack overflow question suggests I can ...
Bnicholas's user avatar
  • 14.2k
5 votes
3 answers
5k views

Web worker dealing with imageData working with Firefox but not Chrome

When I run code that deals with imageData being passed to a web worker and then back, then Firefox works great but Chrome gives "Uncaught Error: DATA_CLONE_ERR: DOM Exception 25" Searching google ...
garg's user avatar
  • 1,255
43 votes
3 answers
17k views

Web Workers and Canvas

Are web workers allowed to access a canvas object?
l.thee.a's user avatar
  • 3,361