Jump to content
Search Community

Baret

Members
  • Posts

    19
  • Joined

  • Last visited

Posts posted by Baret

  1. Thanks ZachSaucier for showing me how to simplify the code and for your suggestions.

    Thanks mikel for your codepen.

    As I'm new to Greensock, it helps me progress.

    I will work on my problem considering your help.
    I will keep you informed or ask for your help if needed

  2. Hello,

    With a cursor, I try to animate with Drawsvg the drawing of a circle (in yellow), t2 animation, which is synchronized with the arrow (in red), line 22, which appears shortly after the start of the cursor movement.
    I want the yellow circle animation to appear after the arrow, as if it were drawing the circle. I have not found a solution. Thank you for your help.

    See the Pen oNYWvqQ?editors=1111 by jmbaret (@jmbaret) on CodePen

  3. Hello,
    I want to animate a line (1 in the drawing) which turns into an arc of a circle (3 in the drawing) by changing its shape and color. 
    The intermediate curves show the type of deformation I want. I tried with MorphSVG, but without success. 
    What approach should I have?
    Thank you for your help.

    Capture.JPG

  4. Merci Jack, merci ZachSaucier, en
    effet je fais un usage particulier de Greensock. C'est une très belle librairie que j'ai adoptée après de nombreuses recherches. C'est facile à utiliser et cela m'a permis de mettre en pratique les idées que j'avais. Voici ce sur quoi je travaille actuellement. Il s'agit d'une animation qui vous permet d'apprendre à lire avec un pied à coulisse. Avec GSAP je peux positionner avec un effet de facilité ou récupérer la position du vernier ce qui me permet de faire les calculs pour vérifier l'entrée de l'élève (pas dans le codepen). Très pratique également, la facilité avec laquelle je peux gérer le zoom sur le vernier quelle que soit sa position.

    See the Pen XWdNREP by jmbaret (@jmbaret) on CodePen

  5. Hello,
    I'm trying to animate a random opening with a vernier caliper but I'm having a problem.
    On the pen code when the two zeros are aligned the x position of the vernier is equal to zero.
    The problem is that from time to time for a given opening greater than zero the vernier moves to the left in abutment and yet the value of the requested vernier position is greater than zero. I can't find out why and that's why I need your help. thank you.

    Jean-Michel

    See the Pen wvGzOwp by jmbaret (@jmbaret) on CodePen

  6. Hello,

    Thank you for your response and I am responding to yours.

    I designed a vernier caliper and I created a vernier drag to help learn how to read the measure (see attached Capture.png).

    One of the important points in reading is to identify the two graduations which are opposite and which I wish to display in red (see attached Capture4.png).

    For this I added a snap function whose value corresponds to the offset to have successive alignments.

    In this case the value of the snap is 1.984375 (see attached Capture5.png).

    To display the two graduations in red I make the correspondence between the position of the vernier and the graduations opposite.

    This value is therefore a multiple of 1.984375 .

    Have I been clear ?

    Do not hesitate to ask me for more information

    Capture.PNG

    Capture4.PNG

    Capture5.PNG

     

    image.png

    • Like 3
  7. Hi
    By using TweenMax with the _gsTransform.x instruction I get a precision of at least 6 digits after the 
    comma but by using gsap.getProperty ("# id", "x") I only have 4 digits after the comma . 
    How can I get better accuracy with gsap.getProperty?

     

    Jean-Michel

×
×
  • Create New...