Skip to content

cubic bezier animation for workflow #92

@roodkcab

Description

@roodkcab

use cubic bezier in workflow to calculate deltaX for animation like css

var bezier1 = self.CubicBezier(0, 0, 1, 1);
var bezier2 = self.CubicBezier(0.25, 0, 0.25, 1);
self.AddAnimation(IGuiAnimation::CreateAnimation(func (time: UInt64): void {
    var changeTime = (cast double (time % (cast UInt64 2000))) / 2000;
    var b1 = bezier1(changeTime);
    var b2 = bezier2(changeTime);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions