Skip to content

Instantly share code, notes, and snippets.

@bobinska-dev
bobinska-dev / wheel.js
Created February 10, 2022 15:49 — forked from julrich/wheel.js
import "@kickstartds/core/lib/container-queries";
import { Component, define } from "@kickstartds/core/lib/core";
import { windowEvents } from "@kickstartds/core/lib/utils";
const desktopImageOffsetAngle = 60;
const mobileImageOffsetAngle = 75;
const mobileOffsetRotateAngle = 45;
const backgroundRotateFactor = -0.25;
const maxBlur = 4;