TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

HN? How to manage collisions using gpu.js for html5 game?

1 pointsby libreabout 6 years ago
Just saw http:&#x2F;&#x2F;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.<p>I&#x27;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.<p>Would it be more efficient?<p>Note that GPU has already a lot of work because PIXI.js is running the game.<p>I guess it depends of how ressources are available on the machine and a wise distribution?

no comments

no comments