开发者

FOSS java library for transforming points on a line

开发者 https://www.devze.com 2023-03-10 21:08 出处:网络
Firstly the library in question is not about graphics its more about converting points along a timeline using a formula into another point upon the same line.

Firstly the library in question is not about graphics its more about converting points along a timeline using a formula into another point upon the same line.

Possibly use cases include animation control, whereby the the point on the timeline represents the current position.

  • To play the animation backwards, one simply uses a "transformer" for lack of a better word to calculate the new point from the end rather than the beginning.
  • Another possible "transformer" might change the point so progress is no longer linear but rather follows a sine curve.
  • Another transformer might double the advancement of the points thus doubling the nimation speed.
  • A timer would provide the initi开发者_如何学JAVAal linear input, with other transformers such as the above decorating the exact schemantics of how the animation progresses.
0

精彩评论

暂无评论...
验证码 换一张
取 消