schteppe / p2.js

JavaScript 2D physics library
Other
2.63k stars 330 forks source link

Is it possible to use the GPU for better performance? #365

Open XWILKINX opened 3 years ago

XWILKINX commented 3 years ago

Is it possible to use the GPU for better performance? P2.js is very CPU intensive especially when using polygons. Is there some way to use the GPU for some of these calculations, perhaps with GPU.js?