From f5cb8bf1cfec0637215e196c470f506c3e62c01e Mon Sep 17 00:00:00 2001 From: Mattia Basaglia Date: Mon, 3 Jul 2023 07:05:48 +0200 Subject: [PATCH] Improve precomp examples --- docs/breakdown/precomps.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/docs/breakdown/precomps.md b/docs/breakdown/precomps.md index 4cf2570d..cd457114 100644 --- a/docs/breakdown/precomps.md +++ b/docs/breakdown/precomps.md @@ -181,6 +181,21 @@ lottie.layers[0].op = 60 * time_mult; lottie.layers[0].sr = time_mult; +You can also change the start time to delay the start of the precomp playback: + + +{lottie_playground:precomp/star-comp.json:512:512} +Start: +Speed: +{...lottie, assets:["..."]} + ### Reversing Playback @@ -207,7 +222,7 @@ lottie.layers[0].tm = { "i": { "x": 1, "y": 1} } ] -} +}; ### Repeated Elements