Next.js website for Rocky Mountain Vending company featuring: - Product catalog with Stripe integration - Service areas and parts pages - Admin dashboard with Clerk authentication - SEO optimized pages with JSON-LD structured data Co-authored-by: Cursor <cursoragent@cursor.com>
14 lines
253 B
Text
14 lines
253 B
Text
var pi = Math.PI,
|
|
halfPi = pi / 2;
|
|
|
|
export function sinIn(t) {
|
|
return (+t === 1) ? 1 : 1 - Math.cos(t * halfPi);
|
|
}
|
|
|
|
export function sinOut(t) {
|
|
return Math.sin(t * halfPi);
|
|
}
|
|
|
|
export function sinInOut(t) {
|
|
return (1 - Math.cos(pi * t)) / 2;
|
|
}
|