Commit graph

18 commits

Author SHA1 Message Date
Jinny You
80fa5fca22 web: Support save2png 2024-01-12 11:05:21 +09:00
Jinny You
8ad2bef538 web: Improve stop animation behavior
`stop` worked like `pause`, when stopping animation, frame should be at 0
2024-01-12 11:05:13 +09:00
Jinny You
54930af3a3 web: Fix animation loading bug
when `lottie-player` has no `src` at first rendering, programmatical load wasn't working
2024-01-12 11:05:06 +09:00
Jinny You
f89a40b9b9 web: Add extra feature & property
- Support `resize` method
- Add `resolution` prop
2024-01-12 11:04:50 +09:00
Jinny You
f2b6b44bce web/examples: Add save2tvg 2024-01-03 14:15:47 +09:00
Jinny You
3e6edc3b70 web: Support file types
- added new exportable type `tvg`
- support jpg/png/svg/tvg load
2024-01-03 14:15:42 +09:00
Jinny You
92288c8291 updated copyright date (#1866) 2024-01-02 20:34:12 +09:00
Jinny You
501b2b060c web: Add a readme 2024-01-02 20:34:11 +09:00
Jinny You
b8d64c5ecd web: Add config to support npm module 2024-01-02 20:34:11 +09:00
Jinny You
e3f3a97f8d web: Add examples
- `index.html` : basic example
- `benchmark.html` : to check FPS, memory usage, latency(ms)
2024-01-02 20:34:11 +09:00
Jinny You
306a30185f web: Implement features
- define separated model for better readability of interface
- implemented thorvg basic features

added features:
- Add version info
- Support setBgColor
- Support save2gif
- Support bounce mode
- Support intermission
- Support skipping needless animation by dom visible
2024-01-02 20:34:11 +09:00
Jinny You
58f44100bc web: Add wasm loading logic 2024-01-02 20:34:11 +09:00
Jinny You
a88653194b web: Add library build script 2024-01-02 20:34:11 +09:00
Jinny You
8ce484c7df web: Add lit element
- introduce a `lit`(https://lit.dev)
- lit is most popular web component builder
- with lit, we can build high-performance WP with less code
2024-01-02 20:34:11 +09:00
Jinny You
fb63a9a937 web: Set up eslint 2024-01-02 20:34:11 +09:00
Jinny You
0d209b5440 web: Set up typescript 2024-01-02 20:34:11 +09:00
Jinny You
26a3a61a60 web: Add gitignore 2024-01-02 20:34:11 +09:00
Jinny You
c3d5cb1925 web: Add a package manifest info 2024-01-02 20:34:11 +09:00