thorvg / thorvg

Thor Vector Graphics is a lightweight portable library used for drawing vector-based scenes and animations including SVG and Lottie. It can be freely utilized across various software platforms and applications to visualize graphical contents.

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

lottie: improve Expressions

hermet opened this issue · comments

Missing major lottie expressions spec:

Layer Sub-objects attributes and methods

  • effect(name) //thorvg needs to support layer effect first
  • effect(index) //thorvg needs to support layer effect first

Property attributes and methods

  • propertyGroup(countUp = 1)
  • propertyIndex

Layer Space Transforms methods

  • toComp(point, t=time)
  • fromComp(point, t=time)
  • fromCompToSurface(point, t=time)

Expression access to paths points on shapes, masks, and brush strokes

  • pointOnPath()

The rest of spec may not be useful. A clear and practical test suite is necessary to cover them.
See history: #1640