Hacker News new | ask | show | jobs
by ashleyw 5145 days ago
It's actually 30,000 particles, not 80,000. See the source: "numLines = 30000".

If you set a breakpoint at that line (28), then you can edit the variable in the console to whatever you want. You can make it smaller without setting the breakpoint, but any higher results in a "attempt to access out of range vertices" error.

I can get it to ~40,000 on my iMac's 6970m 2GB without noticeable slowdown (this is w/ Chrome 20 dev.)

2 comments

UPDATE: It turns out the slowdown at 40,000 was due to the Web Inspector being open (I have no idea why!) It's actually still pretty damn smooth at a MILLION particles! Crazy!
Vertex indexes are 16 bit. It's probably set to 30000 for a very good reasons.
Please, check my post below for the truth about the numbers http://news.ycombinator.com/item?id=4009469