Welcome to TalkGraphics.com
Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 21
  1. #11
    Join Date
    Mar 2009
    Posts
    4,503

    Default Re: Wavy Bottom Image Border

    Thanks, Egg. Love your whale-to-rocket morphing animation!

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

    Default Re: Wavy Bottom Image Border

    Thank you Egg.

    The code for my wavy bottom is quite simple:
    Code:
    <script>
    var ming = document.querySelector('#morphing').style.height;
    var mer = document.querySelector('#morpher ').style.height;
    var txY = ming.replace('px', '') - mer.replace('px', '');
    
    
     anime({
        targets: '#morphing svg path',
        d: document.querySelector('#morpher svg path').getAttribute('d'),
        translateY: txY,
        duration: 5000,
        direction: 'alternate',
        autoplay: true,
        easing: 'linear',
        loop: true,
    });
    </script>
    How it works:
    The White shape Named morphing morphs into the shape Named morpher. Line colour and size matter.
    The morphing shape has a Mix Blend Mode of screen to hide the image under it as it morphs.
    The morpher shape need not be visible; here, I gave it No Colour. Line width is ignored.

    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. #13
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,813

    Default Re: Wavy Bottom Image Border

    Last edited by Acorn; 27 January 2023 at 05:04 PM.
    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

  4. #14
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,910

    Default Re: Wavy Bottom Image Border

    Excellent, very mesmerising Acorn.
    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

  5. #15
    Join Date
    Feb 2007
    Location
    UK
    Posts
    21,295

    Default Re: Wavy Bottom Image Border

    they are indeed... thoug it is a pity that in xara only the outlines morph and not the texture as well
    -------------------------------
    Nothing lasts forever...

  6. #16
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,910

    Default Re: Wavy Bottom Image Border

    Here's another
    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

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

    Default Re: Wavy Bottom Image Border

    Quote Originally Posted by handrawn View Post
    they are indeed... thoug it is a pity that in xara only the outlines morph and not the texture as well
    handrawn, you can but making SVG file masking work with what I was showing is quite tricky.

    Here is a simple example that probably works across all versions: SVG as Mask.xar
    I used an online SVG, as bundling with a XAR is awkward for most to unpack.
    It will not work in early Xara Preview (using IE) so use a real browser.

    Change the width of your browser to see the how the mask displays the graphic.

    You can look at https://www.w3schools.com/css//css3_masking.asp for ideas.
    Most current browsers still require the vendor prefix -webkit-.

    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

  8. #18
    Join Date
    Feb 2007
    Location
    UK
    Posts
    21,295

    Default Re: Wavy Bottom Image Border

    good to know - I cannot view the xar file as I do not have the pro+

    if it needs to be masked then I can see that being tricky, yes...
    -------------------------------
    Nothing lasts forever...

  9. #19
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,813

    Default Re: Wavy Bottom Image Border

    Quote Originally Posted by handrawn View Post
    good to know - I cannot view the xar file as I do not have the pro+
    handrawn, any Xara product will handle a XAR. I checked down to v12.

    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

  10. #20
    Join Date
    Feb 2007
    Location
    UK
    Posts
    21,295

    Default Re: Wavy Bottom Image Border

    sorry I was ina hurry and took your file as a live example requiring pro+ as previous
    -------------------------------
    Nothing lasts forever...

 

 

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
  •