RISC OS support for Lottie files?
Stephen Scott (491) 38 posts |
I tweeted about this earlier today, but I recently discovered the Lottiefiles website – https://lottiefiles.com. The Lottie format is an open sourced JSON format for the rendering of animated vector graphics (more info at https://lottiefiles.com/what-is-lottie), that has been around since at least 2015. Their Github account provides an open source player for the file format, among other things. I have seen references on Google to a Python library for Lottie files, and was therefore wondering if this would provide a way to support this format under RISC OS? Python support is rather good on the OS. Also, the Lottie format sits comfortably alongside the Drawfile format, and SVG files. Drawfiles have had consistent support across all versions of RISC OS. Lottie provides the same level of confidence, but to multiple OSes and platforms for sharing of interactive, animated vector graphics. I’m well aware that time and resources is somewhat limited, but wondering if this is something worth looking at? |
Chris Gransden (337) 1202 posts |
There’s a lottie python module on PyPi. Managed to convert an example lottie file to html on RISC OS using Python3. The resulting html file then opened OK in Otter Browser. The animation worked too. |
Stephen Scott (491) 38 posts |
Thanks Chris. I believe that was the Python module I found when Googling the subject. I figured that Python was going to be the crucial middleware for this, as Python 3 support is so up to date. Would be very interesting to see where this goes in the future. |