react-cloth
Version:
A customizable cloth simulation component for React and Next.js
17 lines (16 loc) • 412 B
TypeScript
import React from "react";
interface ClothSimulationProps {
width?: number;
height?: number;
clothWidth?: number;
clothHeight?: number;
spacing?: number;
gravity?: number;
mouseInfluence?: number;
mouseCut?: number;
tearDistance?: number;
backgroundColor?: string;
lineColor?: string;
}
export declare const ClothSimulation: React.FC<ClothSimulationProps>;
export {};