Skip to content

Latest commit

 

History

History
15 lines (13 loc) · 328 Bytes

Tweening.md

File metadata and controls

15 lines (13 loc) · 328 Bytes

Tweening

Simple tween with delay and duration

use ProjektGopher\FFMpegTools\Tween;
use ProjektGopher\FFMpegTools\Timing;
use ProjektGopher\FFMpegTools\Ease;

$x = (new Tween())
    ->from("50")
    ->to("100")
    ->delay(Timing::seconds(1))
    ->duration(Timing::milliseconds(300))
    ->ease(Ease::OutSine);