# ngWorker **Repository Path**: weismarts/ngWorker ## Basic Information - **Project Name**: ngWorker - **Description**: angular中使用多线程 - **Primary Language**: HTML - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-02-18 - **Last Updated**: 2022-05-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # ngWorker Web worker in angular ngWorker install bower install https://github.com/match08/ngWorker.git --save ngWorker demos 计数demo: https://match08.github.io/ngWorker/www/demo1.html 绘制1000个小球demo: https://match08.github.io/ngWorker/www/demo2.html 绘制1000个小球碰撞动画demo: https://match08.github.io/ngWorker/www/demo3.html ngWorker录制声音demo: https://match08.github.io/ngWorkerAudioRecorder/demo/www/demo1.html 什么是 Web Worker? 当在 HTML 页面中执行脚本时,页面的状态是不可响应的,直到脚本已完成。 web worker 是运行在后台的 JavaScript,独立于其他脚本,不会影响页面的性能。您可以继续做任何愿意做的事情:点击、选取内容等等,而此时 web worker 在后台运行。