Hacker News new | ask | show | jobs
HN? How to manage collisions using gpu.js for html5 game?
1 points by libre 2672 days ago
Just saw http://gpu.rocks for access GPU computation from JS and I wonder how to delegate collisions computation between circles and squares from the JS CPU main thread to gpu processes.

I've eard a lot about gpu computation and some game dev told me they would be happy this to be done with GPU instead of CPU.

Would it be more efficient?

Note that GPU has already a lot of work because PIXI.js is running the game.

I guess it depends of how ressources are available on the machine and a wise distribution?