timesnap

Node.js program that takes screenshots at smooth intervals of web pages with JavaScript animations

BSD-3-CLAUSE License

Downloads
3.6K
Stars
234
Committers
9

Bot releases are hidden (Show)

timesnap - v0.0.4

Published by tungs over 5 years ago

  • Option to overwrite Math.random with a seedable pseudorandom number generator (xorshift128+), via the --unrandomize option from command line or config.unrandomize from node.js.
  • Option to provide launch arguments used by Puppeteer / Chromium via the --launch-arguments option or config.launchArguments from node.js
timesnap - v0.0.3

Published by tungs over 5 years ago

The time-handling functions have been updated to follow their original counterparts more closely:

  • requestAnimationFrame now passes a time argument to its callback
  • setTimeout and setInterval can be now passed a string to evaluate instead of a function

Additionally, if any of the dimensions of the capture area are negative or zero then an error will be thrown.

timesnap - v0.0.2

Published by tungs over 6 years ago

Some command line options are renamed:
--even-width is now --round-to-even-width
--even-height is now --round-to-even-height
--stdout is now --output-stdout

Likewise, configuration properties are also renamed in the Node.js library:
config.evenWidth is now config.roundToEvenWidth
config.evenHeight is now config.roundToEvenHeight
(there is no stdout option for the JS library).

timesnap - Initial Release

Published by tungs over 6 years ago