export { clamp } from '../utils/math'; export const formatTransform = ( x: number, y: number, rotation = 0, scale = 1, ): string => `translate3d(${x}px, ${y}px, 0) rotate(${rotation}deg) scale(${scale})`;