Skip to main content
Filter by
Sorted by
Tagged with
1 vote
0 answers
72 views

Webworker offscreen-canvas performance issues

I have two canvases inside the body of an HTML-file. I access the first canvas normally from an main thread script and perform an animation with requestAnimationFrame. The second canvas should draw ...
Julian's user avatar
  • 34
0 votes
0 answers
21 views

Loading a model with GLTFLoader through Web Worker causes mesh deformation on SkinnedMesh

My page is taking a long time to load because of the loading of the models that I do as soon as the page loads During loading in the main thread, page interactions, such as hover effects, etc., stop ...
joveem's user avatar
  • 1
0 votes
0 answers
79 views

Error getting data with fetch in web worker

I'm trying to get data in the order of bybit -> cloudflare worker -> google scripts. I got the value from bybit to the worker via API, but when I get the value from the worker via google scripts,...
전태진's user avatar
0 votes
0 answers
30 views

get sharedwebworker to run in react / vite / typescript

i am struggeling to get a shared web worker to run. i am using a react typescript app using vite. in one component i have something like this: useEffect(() => { if (!map) return // ...
pcace's user avatar
  • 668
1 vote
1 answer
32 views

Angular 17: What use to to fetch data at the app start moment?

there is an issue. I have Angular 17 app. There is a need to get a user data by http request as to keep it in localStorage and use everywhere. The request should be send once only and as earlier as ...
Alex Marat's user avatar
0 votes
0 answers
126 views

How to place canvas under Openlayers layers with web workers

I am working on a project using OpenLayers with Vue3, where I have a map containing layers with features. Additionally, I have a canvas that I frequently draw on. I need the canvas to be positioned ...
chubby marschmallow's user avatar
1 vote
0 answers
54 views

Why chrome devtools cannot override content of worker request

you can see that "override content" is grayed out. The request has a gear icon, indicating that this is a request via Worker. While for the other request, override content is enabled. Why ...
刘maxwell's user avatar
0 votes
0 answers
52 views

Is it possible to pass a Comlink-proxied object to a proxied function?

This question relates to the Comlink WebWorker library and specifically to the usage of Comlink.proxy. Consider the following situation: worker.ts import * as Comlink from 'comlink'; export class Foo ...
Jon's user avatar
  • 25
2 votes
0 answers
147 views

Using whisper.cpp in SvelteKit

I'm trying to integrate the Whisper.cpp stream web demo into my SvelteKit project for local browser-based speech recognition. I've analyzed their implementation which uses WebAssembly with a worker ...
rahokey531's user avatar
0 votes
0 answers
29 views

Window getting crashed even after using webworker usePdf

I am using react-pdf for rendering a table using usePdf but due to some reason the whole window is getting crashed every time but as soon as i comment few things it works fine. const TestTable = ({ ...
Harsh Sharma's user avatar
0 votes
0 answers
177 views

How to extract text from scanned PDF files, which could work in both web workers and NodeJS too

I want to extract text from PDF files particularly only those that are made up of scanned images, I tried to use PDF.js methods with Tesseract.js OCR, but it won't work in web workers, although this ...
Devr's user avatar
  • 11
0 votes
1 answer
245 views

How to import modules in a web worker.js file using a React Vite app

I'm getting an error when trying to import modules in a web worker.js file using the Vite React framework. I have my front-end component setup to invoke the web worker: const worker = new Worker(new ...
jiamijiang's user avatar
1 vote
1 answer
76 views

Why is the worker's onmessage executing after a macro task?

Event loop execution order I'm studying how the Javascript event loop works for a future presentation, but I've come across an unexpected behavior with the information I have so far. Simply put, when ...
Biel Santo's user avatar
0 votes
0 answers
81 views

using stockfish.js by nmrugg to build a chess game review site

link : roadtomagnus I’m building a chess game review application using StockFish.js (an in-browser engine from NNRUG) with multiple web workers to speed up the evaluation process. To reproduce the ...
Anas Mostafa's user avatar
0 votes
1 answer
51 views

How can I change the color of the svg?

I am using canvg inside of a Web Worker to draw an SVG into an OffscreenCanvas. I will draw the SVG in black. Is it possible to apply a color to the SVG without modifying the SVG itself or using CSS? ...
Eric G's user avatar
  • 772

15 30 50 per page
1
2 3 4 5
153