I
I
Ivan Antonov2016-01-15 17:22:40
JavaScript
Ivan Antonov, 2016-01-15 17:22:40

How to implement sticky drag in Snap.SVG?

Using the Snap.SVG library in the picture, I outline the details using the polygon element, since they are located close to each other, often polygons overlap each other, or are obtained at an unaesthetic distance. You can align exactly by zooming in to 500%.
Is it possible to make the points stick together when they are close?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anna_BS, 2016-01-15
@Anna_BS

codepen.io/Anna_Batura/pen/WQMRqB
codepen.io/codecalm/pen/eppjjM
codepen.io/lbebber/pen/OPjxZL
you can use svg filter for this

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question