Jump to content
Search Community

mayyar

Members
  • Posts

    19
  • Joined

  • Last visited

Posts posted by mayyar

  1. 3 hours ago, elegantseagulls said:

    I think this page will be useful, particularly the demo that shows rotation and snap to angles:

    Thank's for replay 

    some thing like 

    but i think i lost the main concept about click on one circle  

  2. Hello , i am sorry to make full slider circular , i found a good example on this amazing forum ,  but i don't have too much experience to make it alone and i need to under stand it , so i need some one to help me 

    all i want 

    the same code pen 

    but i want to rotate circle with drag mouse and the circle have a infint rotate 

    then if i have a buttons like pre and next but for category , like if i press a fruit button the number change to fruit 

    i know that is bad but i need some help thank you  

    See the Pen abEyVOV by MayyarMag (@MayyarMag) on CodePen

  3. 12 hours ago, OSUblake said:

    like what happens when the circle gets here?

    Hey, 

    really thank you for help !! 

    Yah you are right , i want to make a full circle I will keep the radius hidden and copy the information of the first and second radius so that I get something similar infinit slider , hope i could explain ??

  4. 1 hour ago, OSUblake said:

    If you need help, please create a minimal demo showing what you are trying to do. Thanks!

     

    Yes sure, actually i am new with this kind of svg animation so i start with this post as a reference and try to get like an image i added befor :image.png.242f7a32666d70602454be463f12b808.png,

    but the main issue is change with svg manually,  

    See the Pen yLPaEQX by MayyarMag (@MayyarMag) on CodePen

    then if i need a simple circle , i should to rotate every circle +90 deg ?? with transform origin ?

  5. On 3/29/2021 at 4:15 PM, mikel said:

    Its still the old GSAP syntax but a funny hint how to rotate 'planets'.

     

    Hello Mr, did you draw this manually , cuz i try to edit on this to get somethig like 10 small circles around orbit , but it too hard manually ! , then when i remove transform from origin all things miss up , cuz if i use just a circle , i don't need it right ??

    what i want to achive image.png.815b7b428c026ea2ef519f1c4f202412.png

    THnks

  6. 1 hour ago, Cassie said:

    Have you seen our React guides? 

    Hi , thank you for replying cuz i am struggle, i try ```

    useEffect(() => {
        gsap.to(boxRef.current.position, {
          x: "+=10",
          duration: 6,
          scrollTrigger: {
            trigger: boxRef.current.position,
            scrub: true,
            start: "top bottom",
            end: "top top"
          }
        });
      });
    ```
    but it not work
  7. On 8/23/2021 at 10:10 PM, OSUblake said:

    Well, that's how Apple does it, but if you're doing a simple laptop, you might able to just animate the lid's rotationX property.

    When i add RotateX , not rotate just streched  

    ```

        gsap.to(".screen", { transform: "rotateX(90deg) "ease: "ease:Circ.easeOut" });
    ```
×
×
  • Create New...