Update the number of points on the polygon with the slider

This example uses a component bound to a model and dispatches to update the SVG image in real time.