Welcome to TalkGraphics.com
Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 32
  1. #21
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,913

    Default Re: Rotating Barber Poles

    HELP Acorn.....

    I can't get this motion path working in anime. What am I missing please?
    Attached Files Attached Files
    Egg

    Intel i7 - 4790K Quad Core + 16 GB Ram + NVIDIA Geforce GTX 1660 Graphics Card + MSI Optix Mag321 Curv monitor
    + Samsung 970 EVO Plus 500GB SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host

  2. #22
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,813

    Default Re: Rotating Barber Poles

    Egg, change to targets: '.dory2',

    Acorn
    Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
    When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat

  3. #23
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,913

    Default Re: Rotating Barber Poles

    Acorn, thanks that works fine but the Y value is dictated by the ending y value, not the starting y value. Any idea?
    Egg

    Intel i7 - 4790K Quad Core + 16 GB Ram + NVIDIA Geforce GTX 1660 Graphics Card + MSI Optix Mag321 Curv monitor
    + Samsung 970 EVO Plus 500GB SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host

  4. #24
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,813

    Default Re: Rotating Barber Poles

    Quote Originally Posted by Egg Bramhill View Post
    Acorn, thanks that works fine but the Y value is dictated by the ending y value, not the starting y value. Any idea?
    Egg, it is complicated.

    My cheat way is to place a small marker on the line start and move the shape and line horizontally or vertically until you get a snap on the end point.
    I then bring the line back to it original position if it is a feature part of the design.
    It is the difference in height from start to end or width across that you need and this 'calculates' it for you.

    To make the shape run along the line the start point should coincide with the centre of the shape.

    Another method is to use a Timeline and a short Translate to move the shape to its "offset" and the second part to run the main animation.
    As the path() values return units in px, you could code these out, add in the offset and return the sum in px.
    The last method should use transformOrigin but I have, as yet failed to get this aligned.

    Acorn
    Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
    When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat

  5. #25
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,913

    Default Re: Rotating Barber Poles

    Cheers for that Acorn, I see that it's a 'bug' that a few Anime users have come across. I did a similar exercise as you and I've got it to work perfectly now. If you refresh my last demo you can see the fish jump out the top of the screw.
    Egg

    Intel i7 - 4790K Quad Core + 16 GB Ram + NVIDIA Geforce GTX 1660 Graphics Card + MSI Optix Mag321 Curv monitor
    + Samsung 970 EVO Plus 500GB SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host

  6. #26
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,813

    Default Re: Rotating Barber Poles

    Egg, I like it so much that I added a Slow and Fast (and Stop) to your design.
    The concept is simple.

    A Link can take javascript: anime.speed=0.1; for Slow - the value 1 is normal speed, 0 is Stop and I even tried 10 for your screw!
    Anyone can put these statements directly into the browser address without needing access to the design.

    Acorn
    Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
    When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat

  7. #27
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,913

    Default Re: Rotating Barber Poles

    What, like this ?:

    https://parkeston.com/tg/archimedes-screw/index.htm?javascript:20anime.speed=10;

    This doesn't work for me Acorn. It would be great if it did as syncronising the timings can be very boring at normal speed.

    I've done a final amendment removing the gearbox which was a cheat in the first place

    https://parkeston.com/tg/archimedes-screw/
    Egg

    Intel i7 - 4790K Quad Core + 16 GB Ram + NVIDIA Geforce GTX 1660 Graphics Card + MSI Optix Mag321 Curv monitor
    + Samsung 970 EVO Plus 500GB SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host

  8. #28
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,813

    Default Re: Rotating Barber Poles

    Egg, just the javascript part in the browser address bar or as the Link in your design.

    Click image for larger version. 

Name:	Heron In.jpg 
Views:	32 
Size:	51.5 KB 
ID:	133396

    Acorn
    Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
    When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat

  9. #29
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,913

    Default Re: Rotating Barber Poles

    Acorn, it must be a senior moment but I just don't follow???
    Egg

    Intel i7 - 4790K Quad Core + 16 GB Ram + NVIDIA Geforce GTX 1660 Graphics Card + MSI Optix Mag321 Curv monitor
    + Samsung 970 EVO Plus 500GB SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host

  10. #30
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,813

    Default Re: Rotating Barber Poles

    Quote Originally Posted by Egg Bramhill View Post
    Acorn, it must be a senior moment but I just don't follow???
    Egg, two approaches.

    For a casual viewer, they type in javascript: anime.speed=0.1; directly into their browser as shown in the picture.speed=0 is Stop, speed=1 is normal...

    For you, the designer, add the same as a Link to any object visible on your design page.

    Acorn
    Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
    When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat

 

 

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •