4 sys.path.insert(0, os.path.join(
5 os.path.dirname(os.path.dirname(os.path.abspath(__file__))),
9 from lottie
import objects
10 from lottie
import Color, Point
14 an = objects.Animation(120)
15 layer = objects.ShapeLayer()
20 t = layer.add_shape(FontShape(
"Hello\nWorld\nF\U0001F600O",
"Ubuntu", 128))
22 t.wrapped.transform.position.value.y += t.line_height
23 layer.add_shape(objects.Fill(Color(0, 0, 0)))
24 layer.add_shape(objects.Stroke(Color(1, 1, 1), 2))
26 script.script_main(an)