Coder Social home page Coder Social logo

thorvg / thorvg.viewer Goto Github PK

View Code? Open in Web Editor NEW
18.0 7.0 7.0 25.8 MB

ThorVG Viewer is a browser-based rendering tool that shows you the image result of vector resource formats, such as SVG and Lottie. It's powered by the ThorVG engine.

Home Page: https://www.thorvg.org

License: MIT License

HTML 13.37% JavaScript 51.45% CSS 35.18%
thorvg svg svg-viewer thorvg-viewer lottie lottie-player tvg

thorvg.viewer's Issues

click the empty space is not working

We expect a file browser is popped up when click the screen:

image

regression bug by

commit 68b35c773636344c43631145385f735127e8eadf (HEAD -> main, origin/main)
Author: Jinny You <[email protected]>
Date:   Thu Jan 11 16:04:54 2024 +0900

    Replace player to @thorvg/lottie-player

Enable ThorVG Error logging

Our viewer can activate the ThorVG logging feature to display the unsupported Lottie specifications again there. Previously, the viewer only captured 'ERR' logging messages and printed them in the console box. those unsupported lottie features would be in error category. Currently, it's disabled.

image

improve the UI

image

It looks UX regression.
Delete the decimal information of the frame number. (50.0000 -> 50)

Initial console bug

Screenshot 2023-12-15 at 1 26 32 PM

Depending on latency of wasm loading, if wasm loaded after call anonymous function(main.js:47), console causes error.

Should sync with onRuntimeInitialized event.

file loading issue

If the file extension name is not all lowercase, ThorVG Viewer won't be able to identify it.
It needs to convert the extension name's alphabets to lowercase and then identify it.

xxx.JPG => fail
xxx.jpg => success
xxx.Json => fail
xxx.json => success

Broken UI

Text is not properly wrapped. overlapped trashbin looks weird.
image

Enhance the player controller

The current ThorVG player has a somewhat amateurish design, the slider is not enough long to control the frames detail. (Just quick made for PC, even buggy).

image

I's possible that the ThorVG viewer can display a similar visual look and functionality at the bottom of the screen when any animation is enabled."

image

"progress" value is not valid.

regression bug by

commit 68b35c773636344c43631145385f735127e8eadf (HEAD -> main, origin/main)
Author: Jinny You <[email protected]>
Date:   Thu Jan 11 16:04:54 2024 +0900

    Replace player to @thorvg/lottie-player

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.