V
V
VsevolodKrupsky2017-02-21 11:59:23
JavaScript
VsevolodKrupsky, 2017-02-21 11:59:23

Manipulations with vector objects (intersection, union, etc.) in JavaScript. How?

Good afternoon,
I have 2 contours given by a tag in an svg file, I need to get a shape that is the intersection of the given shapes.
You need to do this in JavaScript. What libraries can you use?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
G
GreatRash, 2017-02-21
@VsevolodKrupsky

Boolean operations for two-dimensional shapes .
If suddenly anyone needs ... theory .

S
Stalker_RED, 2017-02-21
@Stalker_RED

If you can use ready-made libraries, then why not take something like box2d-js ?
Or, if your emphasis is not on physics but on beauty, then d3js , or pick up something more suitable.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question