1M+ animated GPU sprites in JavaScript
Show HN: 1M+ animated GPU sprites in JavaScript
1M+ animated GPU sprites in JavaScript is active in the show hn launch space.
Profile
We added a new feature to our open-source HTML5 game engine today that allows you to create Sprite GPU Layers.These pack together simple JS object definitions onto the GPU and renders them using a custom vertex shader. This skips all CPU computation and GPU upload operations, resulting in vastly increased performance. For objects that don't need to be updated by input, physics, or other interactive behaviors, we found it to be a great solution.In testing, we've easily managed to blast millions of sprites around on moderate desktop-grade GPUs. Indeed, we hit the fill rate limitation of the GPU far sooner than we hit any other type of limitation. But as with all hardware-related things, ymmv.
The company sits in the show hn launch segment, where it competes on its core product or service.
Its current recorded stage is Show HN launch.
| Sector | Show HN launch |
|---|---|
| Stage | Show HN launch |
Website: phaser.io/news/2025/01/phaser-v4-beta-5-released
Browse related
Create a free account