Add Lottie Files animation preview support

This commit is contained in:
ema
2025-07-05 09:25:22 +08:00
parent 5e459e35e5
commit 3fce8b4f53
24 changed files with 1237 additions and 313 deletions

View File

@@ -0,0 +1,24 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SVGA Preview</title>
<style>
html, body {
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
color: #fff;
}
</style>
</head>
<body>
<canvas id="canvas"></canvas>
<script src="https://unpkg.com/svga/dist/index.min.js"></script>
<script src="svga2html.js"></script>
</body>
</html>