Uploaded December 2024 | Updated November 2026, 3 hours ago
My game dev channel: youtube.com/@TypedPixels
Web workers provide a way to get some sort of multi threading capabilities in JavaScript. They have limitations, but in the right circumstances they can lead to huge performance improvements. In this video, I show how I offload a ton of heavy computations to a worker thread to decrease a large amount of blocking time to almost zero.
More on "wave function collapse" algorithm: youtube.com/watch?v=zE1Jbh8b0BM
Get weekly content and tips exclusive to my newsletter: https://mobirony.ck.page/4a331b9076
My game dev channel: youtube.com/@TypedPixels
MY GEAR:
Keyboard: https://adm42.dev/?ref=3
Neovim setup: github.com/joshuamorony/lazyvim
Animations: motioncanvas.io
0:00 Introduction
0:19 The problem
1:15 Why web workers
1:58 Setting up a web worker
3:15 Using web workers
3:51 Web workers and DOM access
4:58 The results
#angular #javascript #webworker
- More tutorials: modernangular.com
My game dev channel: youtube.com/@TypedPixels
Web workers provide a way to get some sort of multi threading capabilities in JavaScript. They have limitations, but in the right circumstances they can lead to huge performance improvements. In this video, I show how I offload a ton of heavy computations to a worker thread to decrease a large amount of blocking time to almost zero.
More on "wave function collapse" algorithm: youtube.com/watch?v=zE1Jbh8b0BM
Get weekly content and tips exclusive to my newsletter: https://mobirony.ck.page/4a331b9076
My game dev channel: youtube.com/@TypedPixels
MY GEAR:
Keyboard: https://adm42.dev/?ref=3
Neovim setup: github.com/joshuamorony/lazyvim
Animations: motioncanvas.io
0:00 Introduction
0:19 The problem
1:15 Why web workers
1:58 Setting up a web worker
3:15 Using web workers
3:51 Web workers and DOM access
4:58 The results
#angular #javascript #webworker
- More tutorials: modernangular.com










