The Community for Technology Leaders
Green Image
Issue No. 01 - Jan.-Feb. (2018 vol. 20)
ISSN: 1521-9615
pp: 33-42
Fazli Sapuan , Sea Ltd.
Matthew Saw , ST Electronics
Eugene Cheah , Independent Researcher
gpu.js is a client-side general-purpose computing on graphics processing units (GPGPU) library for the browser written entirely in JavaScript. Unlike some of the earlier implementations of client-side GPGPU, gpu.js does not require browser support through an explicit GPGPU API or an installation of a custom native runtime browser extension to enable such support. This allows the library to run on all modern platforms, including on mobile devices such as smartphones. It achieves this by using the already widely adopted Web Graphics Library graphics API in a manner that it is not designed for by making use of JavaScript-to-Open GL Shading Language transpilation. The library abstracts away all the unnecessary implementation details of awkwardly performing GPGPU on a graphics API and, at the same time, provides an API that was designed specifically for GPGPU.
application program interfaces, computer graphics, graphics processing units, Java, online front-ends, smart phones

F. Sapuan, M. Saw and E. Cheah, "General-Purpose Computation on GPUs in the Browser Using gpu.js," in Computing in Science & Engineering, vol. 20, no. 1, pp. 33-42, 2018.
1063 ms
(Ver 3.3 (11022016))