Mason效应更新 (1.0.30):粒子变形速度加快,稳定性提升
1 分•作者: fe-hyunsu•7 个月前
我已发布 MasonEffect 的一项小型性能更新,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.