Top Qs
Timeline
Chat
Perspective

Thor Vector Graphics

Open-source C++ vector graphics engine From Wikipedia, the free encyclopedia

Thor Vector Graphics
Remove ads

Thor Vector Graphics (commonly abbreviated as ThorVG) is an open-source library designed to render vector-based motion graphics and animation, such as those based on SVG and Lottie. It is developed with cross-platform compatibility and portability in mind, enabling its use across a wide range of computing platforms and software applications.

Quick facts Other names, Original author ...

ThorVG supports graphic output on web platforms through WebAssembly technology, and provides hardware acceleration not only via the CPU but also through various graphics backends such as OpenGL, WebGL, and WebGPU.

Remove ads

Features

  • Scene graph and path rendering: ThorVG supports two main rendering modes. The scene graph mode allows users to create and manipulate a hierarchical structure of drawable objects, while the path-based interface enables direct drawing of vector shapes and paths.
  • Transformations: The engine supports affine transformation such as translation, scaling, and rotation for graphical objects.
  • Color gradients: Linear and radial gradients are supported for more expressive visual design.
  • Anti-aliasing: Smoothing techniques are included to reduce visual artifacts in rendered output.
  • Multi-threaded and asynchronous rendering: Rendering tasks can be scheduled across multiple threads, enhancing performance on multicore systems.
  • Partial rendering: A rendering technique that tracks only the regions of a scene that have changed between frames and redraws only those specific areas, improving performance and efficiency.
  • Backend abstraction: Currently supports software, OpenGL, WebGL and WebGPU backends, with extensibility for additional rendering targets.
  • Supported formats: SVG, Lottie, PNG, JPEG, WebP, TTF, TVG (ThorVG-exclusive format)
Remove ads

Lottie animation support

ThorVG supports rendering of Lottie animations, a JSON-based vector animation format exported from Adobe After Effects using the Bodymovin plugin.[1] The library is designed to enable the integration of vector-based animations into user interfaces, including environments with limited system resources such as embedded devices.

Thumb
Example of Lottie animations rendered using ThorVG

Supported systems

ThorVG application softwares

History

  • 2020 – ThorVG was initially developed by Hermet Park and released publicly in its early form.
  • 2021 – With contributions from Samsung Electronics, an initial stable version was completed and integrated into the Tizen platform.[10] In the same year, the Godot (game engine) also adopted ThorVG for vector asset rendering.[6]
  • 2022 – ThorVG's official logo was introduced.
  • 2023 – Support for the Lottie (file format) was added with the involvement of LottieFiles in the development. Additionally, the LVGL framework integrated ThorVG for vector rendering of UI components.[11]
  • 2024WebGL and WebGPU render backends were introduced.[12] The dotLottie project adopted ThorVG as its core engine,[13] and LottieFiles became an official sponsor of ThorVG.[14]
  • 2025 – The Lottie Creator project integrated ThorVG as its vector graphics output engine. ThorVG was also adopted as an official component in the ESP-IoT-Solution platform.[15] In the same year, members of the Blender (software) development community discussed the potential use of ThorVG within Blender's rendering infrastructure.[16]
Thumb
The initial prototype of the ThorVG logo
Remove ads

Reception

ThorVG has been discussed within the open-source and embedded graphics communities for its lightweight design and cross-platform rendering capabilities. Independent technical discussions and evaluations have appeared in developer forums and engineering publications, including articles by third-party engineering teams.[17][18]

Release information

  • ThorVG v0.1: May 1, 2021[19]
  • ThorVG v0.2: Jun 5, 2021[20]
  • ThorVG v0.3: Jul 3, 2021[21]
  • ThorVG v0.4: Aug 9, 2021[22]
  • ThorVG v0.5: Sep 24, 2021[23]
  • ThorVG v0.6: Nov 3, 2021[24]
  • ThorVG v0.7: Dec 23, 2021[25]
  • ThorVG v0.8: Mar 8, 2022[26]
  • ThorVG v0.9: May 9, 2023[27]
  • ThorVG v0.10: Jul 31, 2023[28]
  • ThorVG v0.11: Sep 28, 2023[29]
  • ThorVG v0.12: Jan 4, 2024[30]
  • ThorVG v0.13: Apr 9, 2024[31]
  • ThorVG v0.14: Jun 27, 2024[32]
  • ThorVG v0.15: Oct 6, 2024[33]
Remove ads

See also

References

Loading related searches...

Wikiwand - on

Seamless Wikipedia browsing. On steroids.

Remove ads