3 @note Effects are not supported by telegram
7 sys.path.insert(0, os.path.join(
8 os.path.dirname(os.path.dirname(os.path.abspath(__file__))),
12 from lottie
import objects
14 from lottie
import Point, Color
19 os.path.join(os.path.dirname(os.path.abspath(__file__)),
"blep.svg"),
24 gaussian = objects.effects.GaussianBlurEffect()
25 an.layers[0].effects = [
28 objects.effects.DropShadowEffect(Color(0, 0, 0), 128, 135, 10, 7),
29 objects.effects.TintEffect(Color(0, 0, 0), Color(0, 1, 0), 90),
32 gaussian.sigma.add_keyframe(last_frame/2, 0)
33 gaussian.sigma.add_keyframe(last_frame*3/4, 25)
34 gaussian.sigma.add_keyframe(last_frame, 0)
36 script.script_main(an)
def parse_svg_file(file, layer_frames=0, *args, **kwargs)