AlexAegis / AlexAegis/rx_bevy

Feature: interpolate operator

未關閉
#22 0 則留言 0 個 reaction 已指派 1 人 已被 @AlexAegis 認領 在 GitHub 檢視
enhancement
主要語言
Rust
星號
25
分支
2
PR 合併指標
30 天內沒有已合併 PR

描述

An operator that based on the upstream value and interpolation config (when to achieve target value, with what easing)

- Should be able to emit interpolated values based on an optional observable input of `interpolate_on`, with the continous/once per frame being the default behavior
- should be able to configure how to react to a new upstream interpolation when the previous one had not finished yet, like continue form the current interpolated value, or from the expected result of the previous one.
- Consider using a separate InterpolatedObservable as the primitive of this operator so that other higher order operators could be used to offer more behaviors like concatenating. Or even formalizing "Task" observables, and build interpolation around that abstraction

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。