Performance slow with kineticjs

前端 未结 3 1370
无人共我
无人共我 2021-01-07 05:42

Sorry if this question was asked already, I\'ve tried to find it by couldn\'t.

I have a canvas that should eventually show about 400-500 rectangles 20-30 pixels heig

3条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-07 06:12

    Drawing 500 shapes will do that. Of course performance will also depend on computer speed, browser (chrome is currently the fastest - but obviously you'll need acceptable performance on all browsers).

    Check out this link about performance and ways to improve it.

提交回复
热议问题