About 160,000 results
Open links in new tab
  1. Can you control GIF animation with Javascript? - Stack Overflow

    If you want to use JavaScript, you’re most likely alternatives are controlling genuine video or using CSS sprites. The benefit of using CSS sprites is that you end up transferring a single image, and that image has better overall compression than multiple …

  2. javascript - How to use JS to trigger a GIF animation ... - Stack Overflow

    You could export the individual frames as their own images and handle animation via javascript. It lets you do a couple of cool things. A colleague recently had a little timer animation that was synced to the configurable slideshow interval in our image gallery.

  3. Pure JavaScript HTML5 to (Animated) GIF Conversion - GitHub

    AS3GIF lets you play and encode animated GIF's with ActionScript 3. Since web pages can usually natively play GIFs fine, it's only a port of the GIFEncoder portions of the library.

  4. buzzfeed/libgif-js: JavaScript GIF parser and player - GitHub

    The library works by parsing gif image data in js, extracting individual frames, and rendering them on a canvas element. There is no way to get the raw image data from a normal image load, so this library does an XHR request for the image and forces the MIME-type to "text/plain".

  5. sole/Animated_GIF: Javascript library for creating animated GIFs - GitHub

    Javascript library for creating animated GIFs. Contribute to sole/Animated_GIF development by creating an account on GitHub.

  6. throw - JavaScript | MDN - MDN Web Docs

    Mar 13, 2025 · The throw statement throws a user-defined exception. Execution of the current function will stop (the statements after throw won't be executed), and control will be passed to the first catch block in the call stack. If no catch block exists …

    Missing:

    • GIF

    Must include:

  7. How to Code a Hover-to-Animate GIF Image Gallery

    Oct 16, 2013 · Using basic HTML you can embed images into a page which feature animation, without relying on any other technologies. Granted – there are plugins for animating sprites or backgrounds – but GIFs are a totally different concept. In this tutorial I want to demonstrate how we can build an image gallery which optimizes the display of animated images.

    Missing:

    • Throw

    Must include:

  8. How to add an animation gif to a javascript program

    Oct 24, 2020 · Either way, in your checkGuess function where correct = true you could create an img element: let img = document.createElement("img"), add the image source: img.src = "yourAnimation.gif", then append it to the document: document.body.appendChild(img)

    Missing:

    • Throw

    Must include:

  9. Making GIFs in JavaScript - Medium

    Oct 15, 2021 · To start, I downloaded gif-encoder-2 and canvas via npm. gif-encoder-2 is one library that allows for the easy creation of GIFs in JavaScript. canvas assists this library in making the GIFs.

  10. JavaScript animations

    Jan 20, 2024 · JavaScript animations can use any timing function. We covered a lot of examples and transformations to make them even more versatile. Unlike CSS, we are not limited to Bezier curves here.

    Missing:

    • Throw

    Must include:

  11. Some results have been removed