0.0.7 • Published 5 years ago

svg-to-video v0.0.7

Weekly downloads
23
License
MIT
Repository
github
Last release
5 years ago

svg-to-video

This is tool for capturing interations on svg images to videos in the browser.

It based on MediaRecorder API and provides UI on page.

Usage

  1. load script on page
<script src="https://unpkg.com/svg-to-video"></script>
  1. select element to capture and init recorder
<script>
    let svg = document.querySelector('svg')

    svgToVideo.init({
        drawScene: () => svg,
        width: 600,
        height: 200,
    })
</script>

See full example

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago