tungs / timesnap

Node.js program that takes screenshots at smooth intervals of web pages with JavaScript animations
BSD 3-Clause "New" or "Revised" License
234 stars 57 forks source link

[FEATURE REQUEST] Add support for CSS animations and synchronization with DOM context #82

Open JTinkers opened 5 months ago

JTinkers commented 5 months ago

I would like to request a feature, which would allow us to capture CSS animations as decently as the script is currently capturing JS animations.

There is also an issue with CSS animations, where recording would start after the animations started - losing the first few frames. The solution right now is to add 2-3 second delay on the CSS animations and cut it out of the video in postprod, but that's less than efficient when you have thousands of videos to generate.

Thanks in advance!