diff --git a/src/components/ui/vortex.tsx b/src/components/ui/vortex.tsx index 77d84fb2..ee9c46df 100644 --- a/src/components/ui/vortex.tsx +++ b/src/components/ui/vortex.tsx @@ -1,5 +1,5 @@ import { cn } from "@/lib/utils"; -import React, { useEffect, useRef } from "react"; +import { useEffect, useRef } from "react"; import { createNoise3D } from "simplex-noise"; import { LazyMotion, domAnimation, m, useReducedMotion } from "framer-motion"; @@ -43,9 +43,7 @@ export const Vortex = (props: VortexProps) => { let particleProps = new Float32Array(particlePropsLength); let center: [number, number] = [0, 0]; - const HALF_PI: number = 0.5 * Math.PI; const TAU: number = 2 * Math.PI; - const TO_RAD: number = Math.PI / 180; const rand = (n: number): number => n * Math.random(); const randRange = (n: number): number => n - rand(2 * n); const fadeInOut = (t: number, m: number): number => {