Thanks, Egg. Love your whale-to-rocket morphing animation!
Thanks, Egg. Love your whale-to-rocket morphing animation!
Thank you Egg.
The code for my wavy bottom is quite simple:
How it works: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>
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 and active Xara software: Cloud+/Pro+, XDPXv18 , XWDPv12/v15, XPGDv10, X3D7, Xara Xtreme 5, and others back through time (to CC's Artworks).
Technical remediation and consultancy for your web designs. TG Nuggets you might like. Report faults: Magix; Xara Cloud+/Pro+
Another from me: anime.js - Rabbits to Giraffes.xar
https://shared.xara.com/DCM51yOf2N
with a few embellishments:
https://shared.xara.com/ypp1SNPDjq
Acorn![]()
Last edited by Acorn; 27 January 2023 at 05:04 PM.
Acorn - installed and active Xara software: Cloud+/Pro+, XDPXv18 , XWDPv12/v15, XPGDv10, X3D7, Xara Xtreme 5, and others back through time (to CC's Artworks).
Technical remediation and consultancy for your web designs. TG Nuggets you might like. Report faults: Magix; Xara Cloud+/Pro+
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
they are indeed... thoug it is a pity that in xara only the outlines morph and not the texture as well
-------------------------------
Nothing lasts forever...
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
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 and active Xara software: Cloud+/Pro+, XDPXv18 , XWDPv12/v15, XPGDv10, X3D7, Xara Xtreme 5, and others back through time (to CC's Artworks).
Technical remediation and consultancy for your web designs. TG Nuggets you might like. Report faults: Magix; Xara Cloud+/Pro+
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...
Acorn - installed and active Xara software: Cloud+/Pro+, XDPXv18 , XWDPv12/v15, XPGDv10, X3D7, Xara Xtreme 5, and others back through time (to CC's Artworks).
Technical remediation and consultancy for your web designs. TG Nuggets you might like. Report faults: Magix; Xara Cloud+/Pro+
sorry I was ina hurry and took your file as a live example requiring pro+ as previous
-------------------------------
Nothing lasts forever...
Bookmarks