Live data from Hacker News

WebGL: 80,000 particles

minimal.be

11–20 of 85 posts

Re: WebGL: 80,000 particles

#11
post #6

Is 80000 particles the limit? With Flash you could render +300000 particles years ago: http://www.unitzeroone.com/labs/alchemyPushingPixels/

That demo gets about 19 fps on my machine, whereas the WebGL demo appears to be getting close to 60, so that seems to be scaling pretty similarly. Also keep in mind that the demo you linked to uses Alchemy, which is C/C++ compiled to AVM2, so for WebGL to be getting roughly equivalent performance is pretty damned impressive.

Re: WebGL: 80,000 particles

#14
I used particles pretty heavily in my (inneficient) WebGL game Up and Above: http://littlesquareblock.com/upandabove

It's not nearly as efficient as this demo, but it's at least a game. There are at least a dozen areas I could fix up to prevent the GC from going nuts if I was so inclined, but it works fine for most people.

Re: WebGL: 80,000 particles

#17

I used particles pretty heavily in my (inneficient) WebGL game Up and Above: http://littlesquareblock.com/upandabove It's not nearly as efficient as this demo, but it's at least a game. There are at least a dozen areas I could fix up to prevent the GC from going nuts if I was so inclined, but it works fine for most people.

Pretty neat game. WebGL is still a little clunky on Linux but I was still getting a playable framerate (but just barely).

Re: WebGL: 80,000 particles

#18
post #17

I used particles pretty heavily in my (inneficient) WebGL game Up and Above: http://littlesquareblock.com/upandabove It's not nearly as efficient as this demo, but it's at least a game. There are at least a dozen areas I could fix up to prevent the GC from going nuts if I was so inclined, but it works fine for most people.

Pretty neat game. WebGL is still a little clunky on Linux but I was still getting a playable framerate (but just barely).

That's good to know. We get really bad performance on linux because of the AA I think.

Re: WebGL: 80,000 particles

#20
post #6

Is 80000 particles the limit? With Flash you could render +300000 particles years ago: http://www.unitzeroone.com/labs/alchemyPushingPixels/

Also look that the stage (canvas) size for the demo (this used to make a big difference in older versions of the player at least).
Post reply on HN