Jump to content
Search Community

Leaderboard

Popular Content

Showing content with the highest reputation on 01/06/2018 in all areas

  1. If I understand correctly, here's the first draft to get you started.
    2 points
  2. Hi @cheezheadsrule Welcome to the forum. I'm not entirely sure I understand what you're trying to accomplish and if it even relates to GSAP, but you can do a quick search of the forum for 'sliders' and you'll find many threads. You could also search CodePen for image sliders and you'll find many examples that should help you get started. https://codepen.io/search/pens/?q=image slider&order=popularity&depth=everything&show_forks=false If you have any GSAP related questions about your project, we're happy to help. Please provide a CodePen demo with any questions. More info about that: Happy tweening.
    2 points
  3. Hi @cheezheadsrule, Even if I do not know where to go (after click handler is unbinded). An exciting exercise ... Kind regards Mikel
    1 point
  4. @CarlI was wondering if you intended to scold that demo.
    1 point
  5. Castigate should be investigate. Silly phone
    1 point
  6. I'm repositioning/scaling the shapes so that shouldn't be a problem, however, finding the correct shapeindex could be a headache since I'm actually comparing randomly drawn paths. Still, looping through and comparing anchor points sounds like its on the right track. I appreciate the insight. Here's my current codepen. Right now its just copying the svg to a canvas and doing an imagedata comparison. Again, not ideal, but maybe itll come in handy for someone else.
    1 point
  7. Hm, seems to work fine: Have you tried this import instead?: import DrawSVGPlugin from "gsap/DrawSVGPlugin"; If that doesn't work, I'm not quite sure what might be the problem in your setup. Are you getting any errors in the console?
    1 point
×
×
  • Create New...