tachyonfx-0.6.0
junkdog
released this
07 Sep 09:28
·
90 commits
to development
since this release
tachyonfx 0.6.0 - 2024-09-07
This release introduces a lot of breaking changes in the form of added and removed parameters.
Sorry for any inconvenience this may cause, I'll try to tread more carefully in the future.
Added
- New "std-duration" feature to opt-in to using
std::time::Duration
, which is the same behavior as before. - New
tachyon::Duration
type: a 4-byte wrapper around u32 milliseconds. When the "std-duration" feature is enabled,
it becomes an alias for the 16-bytestd::time::Duration
.
Changed
- Replaced
rand
crate dependency with a fastSimpleRng
implementation. render_as_ansi_string()
produces a more compact output by reducing redundant ANSI escape codes.
Breaking
tachyonfx::Duration
is now the default duration type.- Replace usage of
std::time::Duration
withtachyonfx::Duration
. fx::sweep_in
,fx::sweep_out
,fx::slide_in
,fx::slide_out
: addedrandomness
parameter.fx::dissolve
,fx::coalesce
: removedcycle_len
parameter, as cell visibility is recalculated on the fly.fx::sequence
,fx::parallel
: now parameterized with&[Effect]
instead ofVec<Effect>
.
Deprecated
EffectTimeline::from
is deprecated in favor ofEffectTimeline::builder
.