An open API service indexing awesome lists of open source software.

https://github.com/ullaskunder3/anime-sprite-animation-js

Sprite animation in vanilla Javascript
https://github.com/ullaskunder3/anime-sprite-animation-js

basic javascript sprite-animation spritesheet vanilla-javascript

Last synced: 12 months ago
JSON representation

Sprite animation in vanilla Javascript

Awesome Lists containing this project

README

          

# Anime Sprite Animation

Sprite Animation comes from the classic paper flip animation concept.
In Sprite Animation, two or more images get rendered sequentially in a continuous manner which, in turn, gives an animated single object.

Example:

![example](./example.gif)

---

- A sprite sheet consists of multiple frames (also sprites) in one image.

- In other words, sprite sheets pack multiple sprites into a single picture.

- Using sprite sheet, you create sprite sheet animation representing one or - several animation sequences while only loading a single file.

- Sprite sheet animation changes which frame/sprite is rendered in quick succession to give the illusion of movement.

![sheet](./img/sword.png)