This repository was archived by the owner on Aug 3, 2023. It is now read-only.
Releases: cdaein/sketch-wrapper
Releases · cdaein/sketch-wrapper
v0.13.3
New
- Sketch-Wrapper now handles
asyncfunction as sketch input. - A few
gifOptionsare added. need to test more and see how it works.
Fix
resizewill fire at first page load once even ifdimensionsare set.- pause/resume will work smoothly. there was a bit of jump due to first render offset.
v0.13.1
v0.13.0
v0.12.0
v0.11.0
v0.10.8
Fix
- frame counting:
props.framewas counting 1 more frame at the end, and affectingprops.playheadto go over1. by checkingtotalFrames - 1, it now correctly updates. - time jump at start: due to
handleResize()callingrender()first frame, and the time it takes for loop to call its firstrender(), the first few frames have a big time jump and create a noticeable animation jump. by offsetting that delay, it now has smooth and consistent time advance.
v0.10.7
v0.10.6
Add
- red outline to indicate it's exporting WebM video.
Update
- WebM export: It now uses
webm-muxerfor frame-by-frame video export. MediaRecorder API was unreliable and I could not find a way to set the frame rate.
Fix
ogl-typescriptimport error: useawait import()and enable code splitting for dynamic import to work.
v0.10.1
v0.9.5
Add
- WebM export with MediaRecorder API. It is still work-in-progress. MediaRecorder seems to be geared towards real-time stream recording, not frame-sensitive recordings. I might change to other methods later.
Fix
- Dynamic importing of
ogl-typescriptso Vitejs will not complain for missing dependency. Users will also need to excludeogl-typescriptfrom pre-bundling.