moveable icon indicating copy to clipboard operation
moveable copied to clipboard

Custom amount of draggable markers

Open wisyr opened this issue 5 years ago • 6 comments

Hi! Thanks for an outstanding library. Is there a way to add more draggable markers with option "warpable" turned on? Im aiming to fire this lib on an image then mark specified part of it with markers (draggable dots). Docs are not clear about this.

Is this possible? Thanks!

Edit: Im aiming for something like: https://i.stack.imgur.com/kM1OH.png

wisyr avatar Aug 26 '19 13:08 wisyr

@wisyr

I'm sorry. It seems impossible right now. However, it will likely be possible to add custom able functions later in the plugin format.

Does this feel like svg's path?

daybrush avatar Aug 26 '19 14:08 daybrush

@daybrush Thanks! It doesnt have to be svg path, just possibility to add markers on a fly or basically pass data to generate markers, like [{ x1: 100, x2: 200 },...] and so on.

wisyr avatar Aug 26 '19 14:08 wisyr

@wisyr

I'll make it a custom mark plugin later.

What framework do you use? Or vanilla?

daybrush avatar Aug 26 '19 17:08 daybrush

@daybrush Thanks! Im using vanilla atm. Anyways - it's not that important. I've figured out how to do it. However you can add it like a some future feature :)

wisyr avatar Aug 27 '19 11:08 wisyr

@wisyr How did you do it? I'm sort of struggling with it right now. I want to have free-style draggable points, like over here - Warp SVG

a-y-u-s-h avatar Oct 13 '20 14:10 a-y-u-s-h

Did this ever get implemented? I am wondering if there is a way to increase the amount of markers on warpable from 8 to 16.

kilka avatar Nov 04 '21 18:11 kilka