svgs vs Lottie files

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
ggibbon
Posts: 120
Joined: Fri Aug 01, 2014 1:02 pm

Hi All

I've just be going through a paniful time
having outputed a large 360 tour, which runs fine on
dekstop, but very slow on mobile devices.
This tour has a lot of animated svg buttons (approx 100+ eeek!)
which after optimising everything else I can (attached images, film, sounds)
its still very slow.
I came across an article which mentioned about animate svg, not being great on mobile devices
and lottie files being a bteer choice.
Would you recommend this.

Thanks
Greg
User avatar
Tony
Posts: 1342
Joined: Mon Feb 15, 2010 6:54 am
Location: Adelaide, South Australia
Contact:

Hi Greg,

One of the features I love the most about Pano2VR is the ability to use SVG files as they provide the best solution for cross-platform usability and scaling. I looked into creating SVG animations but haven't actually deployed any.

Reading posts online it looks like animated SVG can be quite large while the animated Lottie files are considerably smaller.

As both have the same resolution independent feature I'd go for SVG for static elements and Lottie for the animations.

Here's a sample I built when V7 was in Beta and support for Lotties was announced.

https://p2vr.s3.ap-southeast-2.amazonaw ... index.html

Tony
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: https://tonyredhead.com - https://redsquare.com | Pano2VR Tutorials: https://tonyredhead.com/pano2vr | instagram: https://www.instagram.com/tonyredhead/
ggibbon
Posts: 120
Joined: Fri Aug 01, 2014 1:02 pm

Hi Tony

Thanks for the quick reply.
I'll give this a go and let you know if
it solved my issues.
Thanks
Greg
Post Reply