PMKS-Web / PMKSWeb

An educational web-based tool designed for comprehensive 2D linkage analysis developed at WPI (Worcester Polytechnic Institute)
https://pmksplus.com
3 stars 2 forks source link

Dragging a force on a binary link works properly now #123

Closed AlexG1031 closed 1 year ago

netlify[bot] commented 1 year ago

Deploy Preview for pmks ready!

Name Link
Latest commit 70c6fb96268a428db16295f761b3afe233e4767a
Latest deploy log https://app.netlify.com/sites/pmks/deploys/64c04ee82608e400083b2e58
Deploy Preview https://deploy-preview-123--pmks.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

KohmeiK commented 1 year ago

This might be related to #116 but when you drag a joint the force start point jumps.

Also, can you also get polygons working with just a simple edge snapping?

AlexG1031 commented 1 year ago

I found the reason why the force jumps back to the original starting position. Need to spend more time on this bug but will fix this sometime this weekend.

KohmeiK commented 1 year ago

Really beautifully done! No is a valid answer here but can we add similar snapping on non-binary links, and also support similar constraints for welded binary links?

So force start points won't be able to leave a triangle link and it will want to snap to near the edge. Does that make sense?

rkprad commented 1 year ago

Issue found related to object scaling https://deploy-preview-123--pmks.netlify.app/?0P.1Ps.K,0.101.Ga,a,012e,0Op,0.Gb,b,9k,1Zi,0..YRab,ab,Fe,Fe,0ST,bT,c5cae9,a,b,,..2F1,ab,F1,2J,1Nb,0F5,0Vd,Fe.l image