Skip to content

AstroFoxLabs/Simple-Javascript-360-Degree-Image-Rotation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

This is a small, simple written script using plain javascript to have a 360 degree image rotation.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors