to achieve a translation animation on WeChat Mini Programs, generally speaking, you use css"s translate to translate, but you happen to be in contact with canvas, so you think that
now has three solutions:
- use the translate of css to translate
- use the wx.createAnimation of Mini Program API to translate
- draw frame by frame with canvas
which performance is better
there is a question: is css also translated by re-rendering, and do they all re-render?
Thank you