title: Interactive Scatter Plot with 20,000 Nodes
The purpose of this lab is to demonstrate the shear number of nodes that Konva can handle by rendering 20,000 circles which are sensitive to mouseover events and can be drag and dropped. This lab is also a great demonstration of event delegation, in which a single event handler attached to the stage handles the circle events.
Instructions: Mouse over the nodes to see more information and then drag and drop them around the stage.
{% iframe /downloads/code/sandbox/20000_Nodes.html %}
{% include_code Konva 20000 Nodes Demo sandbox/20000_Nodes.html %}