Performance slow with kineticjs

前端 未结 3 1413
无人共我
无人共我 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:34

    Please check out KineticJS v4.0.0, the event detection engine was rewritten and yields instantaneous hit detection even if there are hundreds of thousands of shapes:

    http://kineticjs.com/

提交回复
热议问题