Skip to content

Latest commit

 

History

History
15 lines (9 loc) · 548 Bytes

File metadata and controls

15 lines (9 loc) · 548 Bytes

Simple Javascript 360 Degree Image Rotation

This is a small and simple plain script in JS to have a 360 degree image rotation with just images in order.

Usage

  1. Add the rotation.js file to your project and include it in your HTML.
  2. Create a container with an ID and add your images in the correct order (Clockwise).
  3. Create a new instance of the Image360Rotation class with the corresponding ID and desired speed and rotation direction.

Demonstration

Authors

AstroFoxLabs (Vinzenz Wetzel)