MasonEffect 更新(1.0.30):更快的粒子变形和更好的稳定性
我已经发布了 MasonEffect 的一个小性能更新,这是我的轻量级粒子变形文本引擎。此次更新的重点是减少 Canvas 的读取开销,并提高不同设备上的帧稳定性。内部循环的清理和更好的缓存机制使得变形动画更加一致,尤其是在较高粒子数量的情况下。
同时,提供了一个简单的性能日志选项,供希望验证帧时间或检查更新成本的用户使用。
演示链接: https://masoneffect.com
npm 链接: https://www.npmjs.com/package/masoneffect
GitHub 链接: https://github.com/fe-hyunsu/masoneffect (非常感谢您的支持!)
欢迎反馈或提供进一步的优化建议。
查看原文
I’ve shipped a small performance update to MasonEffect, my lightweight particle-morphing text engine.
The focus was reducing Canvas readback overhead and improving frame stability across devices. Internal loop cleanup and better caching helped make morphing animations more consistent, especially at higher particle counts.<p>A simple performance log option is also available for anyone who wants to validate frame timing or inspect update costs.<p>Demo: https://masoneffect.com<p>npm: https://www.npmjs.com/package/masoneffect<p>GitHub: https://github.com/fe-hyunsu/masoneffect
(a would be greatly appreciated!)<p>Happy to hear feedback or further optimization ideas.