Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...

lifeinchords

Members
  • Content Count

    6
  • Joined

  • Last visited

Community Reputation

0 Newbie

About lifeinchords

  • Rank
    Newbie
  1. Please disregard... I was running into a different issue, which was related to trying to animate shapes with differing numbers of points. More here: https://www.smashingmagazine.com/2015/05/creating-responsive-shapes-with-clip-path/ ~s
  2. Hi.. curious if there have been any updates/improvements on this behavior? I understand SVG is a better way to go, but for quick testing of ideas I'd like to try to keep things simple with just a CSS prop rather than creating/exporting SVG's etc. Thanks, ~s
  3. Thanks for the reply and suggestion. I'll give that a try. All the best, ~s
  4. Hi there, I'm trying to create something like this: https://scratch.mit.edu/projects/editor/?tip_bar=getStarted so when dragging a block next to another one on the canvas, the snap starts *before the elements touch. Basically, a negative threshold. This got me a good way there: http://greensock.com/forums/topic/9265-draggable-snapping-to-specific-points-with-sensitivity/ looping through my elements, using hitTest to figure out which is being touched by the dragging element, and I added inset borders with box shadow and some custom logic to figure out which side to snap to....
  5. Thanks for the quick reply! Gonna check it out + integrate =: s
  6. I'm new to GSAP. Is there a way to do this with GSAP, with less code? Will it be more performant with GSAP? Thanks, =: s
×