UNPKG

tiny-slider

Version:

Vanilla javascript slider for all purposes, inspired by Owl Carousel.

3 lines • 80 B
export function toDegree (y, x) { return Math.atan2(y, x) * (180 / Math.PI); }