Skip to content Skip to sidebar Skip to footer
Showing posts with the label Web Worker

How To Allow Web Workers To Receive New Data While It Still Performing Computation?

I want to sort an array, using Web Workers. But this array might receive new values over time, whil… Read more How To Allow Web Workers To Receive New Data While It Still Performing Computation?

Loading Texture From Web Worker In Three.js

When applying a large texture image to a Mesh for a noticeable period of time Three.js locks-up bro… Read more Loading Texture From Web Worker In Three.js

Javascript Worker.postmessage Shrinks Empty Array

I am passing an empty array to a worker, which should populate the array and return it - I know the… Read more Javascript Worker.postmessage Shrinks Empty Array

Using Web Workers For Drawing Using Native Canvas Functions

It's possible to send a CanvasPixelArray obtained via getImageData to a worker script, and let … Read more Using Web Workers For Drawing Using Native Canvas Functions

Using Transferable Objects From A Web Worker

I currently have this code to create a Web Worker: w = new Worker('webwork.js'); w.onmessag… Read more Using Transferable Objects From A Web Worker

Is There A Way To Send Video Data From A Video Tag/mediastream To An Offscreencanvas?

Basically I want to be able to perform effectively this same code: const video = document.getEleme… Read more Is There A Way To Send Video Data From A Video Tag/mediastream To An Offscreencanvas?

Parsing Xml In A Web Worker

I have been using a DOMParser object to parse a text string to an XML tree. However it is not avail… Read more Parsing Xml In A Web Worker

Javascript:worker Synchronization

I am working on HTML5 web worker and I made a function that spawn few workers and return the result… Read more Javascript:worker Synchronization