Three.js particles load insanely slow? What's

2019-09-17 05:59发布

I can't figure out what's slowing down my visualization. Ideally, I would like 60 fps. Not 1 fps or 2 fps.

Here are the repositories. For the first one, inside LeapVis1.2, if you open index.html with Firefox after you download the folder the vis should load. Non-Particles

For the repository that uses particles, open canvas_particles_random.html in Firefox. Particles (Even slower)

1条回答
何必那么认真
2楼-- · 2019-09-17 06:05

First of all this is continuation of this question. The reason of its slowness is because your are using CanvasRenderer instead of WebGLRenderer. I guess you've misunderstood me. In three.js there are two objects: Particle - for canvas and ParticleSystem - for webgl. I've never ment to use canvas, because it is very slow in comparison with webgl.

查看更多
登录 后发表回答