News for hackers. Stuff that matters.
Re:WebGL: 80.000 particles by ykl on Tuesday April 07, 2015 @10:03AM (#9334078)
Here's a much cooler version by Nop Jiarathanakul. Nop's version has shape targeting, which is especially cool. Check out the running horse.

http://www.iamnop.com/particles/

Re:WebGL: 80.000 particles by conkrete on Tuesday April 07, 2015 @12:34PM (#9335204)
On my currently laptop I only pull about 5fps when viewing this. Indeed cool, but the OPs (albeit more simple) runs at a solid 60fps
Re:WebGL: 80.000 particles by davesque on Tuesday April 07, 2015 @06:10PM (#9337524)
Runs at 60fps on latest Chrome for me. I'm on a retina macbook pro 15".
Re:WebGL: 80.000 particles by voltagex_ on Tuesday April 07, 2015 @07:12PM (#9337787)
3fps here on what should be a beefy i7 with a relatively recent integrated GPU. Anyone want to comment on what the bottleneck is?
Re:WebGL: 80.000 particles by nopjia on Tuesday April 07, 2015 @11:23PM (#9338640)
CPU has little to do with it, since most of the heavy lifting is done by the GPU. Maybe that integrated chip isn't enough.
Re:WebGL: 80.000 particles by nness on Wednesday April 08, 2015 @01:44AM (#9338965)
It does depend whether the particles are drawn using shaders or the simpler canvas drawing commands. Without shaders, it would be very CPU intensive. However this site has definitely taken the shader approach.
Re:WebGL: 80.000 particles by msl09 on Tuesday April 07, 2015 @01:12PM (#9335506)
yeah iamnop crashes my firefox
Re:WebGL: 80.000 particles by cookiecaper on Tuesday April 07, 2015 @01:58PM (#9335819)
Runs at near-60 FPS in Firefox for me. Using Linux and Firefox 37.
Re:WebGL: 80.000 particles by msl09 on Wednesday April 15, 2015 @10:55AM (#9381343)
Firefox 31 from the debian wheezy package
Re:WebGL: 80.000 particles by ChristianGeek on Tuesday April 07, 2015 @05:15PM (#9337217)
Close to 60fps in Chrome 41 on my 2014 MBP.
Re:WebGL: 80.000 particles by jbogp on Tuesday April 07, 2015 @12:26PM (#9335136)
Big difference between this one (which is great) and OP's is that OP's done all the WebGL himself whereas Nop's uses Three.js
Re:WebGL: 80.000 particles by nopjia on Tuesday April 07, 2015 @01:39PM (#9335685)
here's one with 1 million particles done in vanilla WebGL

http://www.iamnop.com/particles-mrt/

(it's a little unstable since it uses WEBGL_draw_buffers)

Re:WebGL: 80.000 particles by pbhjpbhj on Tuesday April 07, 2015 @03:55PM (#9336709)
CAUTION iamnop.com link plays quite loud music from start (for me).
Re:WebGL: 80.000 particles by adamnemecek on Tuesday April 07, 2015 @05:35PM (#9337322)
cool stuff, here's the sauce https://github.com/nopjia/webgl-particles
Re:WebGL: 80.000 particles by nopjia on Tuesday April 07, 2015 @11:24PM (#9338643)