Here is the discussion forum for this part of the course. Please post your comments/observations/questions and share your creations.
May we suggest some topics for discussion and optional projects:
SUGGESTED TOPICS
- Did you try the demos from the last lesson? Do you understand why using Web Workers can be a savior in some situations?
- Can you find some explanations on the Web about multi core architectures and Web Workers (e.g., about threads/workers benefiting from multi core processors, leading to greater performance). Please share any relevant articles in the forum!
OPTIONAL PROJECTS
- Please write a small Web app. that uses Web Workers.
- There is a wonderful demonstration of a fountain animation using particles, made by Microsoft. Can you write something similar, but perhaps with fewer options? The idea was the following: compute particle movements in separate workers, and when a new array of particles is ready to be drawn, post it from the Web Worker. The main page has a mainloop for animating at 60 frames per second. When a new set of particles is ready (posted by a Worker), it is drawn and animated. The demo had up to 10 workers operating in parallel, in the background.