New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

animate-image-sequence

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

animate-image-sequence

A way to use a window scroll bar to scrub through an image sequence.

  • 1.0.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Animate Image Sequence

A way to use a window scroll bar to scrub through an image sequence.

Example

const videoHolderElements = document.querySelector('#video-holder');
const imgSeqElement = document.querySelector('.img-seq');

if (videoHolderElements && imgSeqElement) {
  new ImageVideoPlayer(
    205, // play speed
    5, // number of image to tween between
    1116, // total number of images
    videoHolderElements as HTMLElement, // render element outer holder
    imgSeqElement as HTMLImageElement, // render image element
    'img-seq/oceans' // base file name
  );
}

Image sequence

The idea is that the images are sequenced like a stop action move or a old school flip book. So for example image should be number in order something like this oceans0000 to oceans1116 counting up.

Demo

You can run the project locally with yarn dev or view demo and scroll down.

Keywords

FAQs

Package last updated on 18 Aug 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc