Epitrochoid
Import
import { epitrochoid7 } from "@sarmal/core/curves/epitrochoid7"; A roulette tracing 7 lobes with an animated distance parameter that creates organic, undulating motion.
Equation
Parameters
| Family | Roulette |
| Period | 2π |
| Default Speed | 1.4 |
| Skeleton | custom (stabilized) |
Key Features
- 7 lobes with flower-like symmetry
- Dynamic distance parameter creates organic motion
- Custom skeleton uses fixed d=1.275 for stability
Usage
Standard
import { createSarmal } from "@sarmal/core";
import { epitrochoid7 } from "@sarmal/core/curves/epitrochoid7";
const canvas = document.getElementById("spinner") as HTMLCanvasElement;
const sarmal = createSarmal(canvas, epitrochoid7); React
import { Sarmal } from "@sarmal/react";
import { epitrochoid7 } from "@sarmal/core/curves/epitrochoid7";
function App() {
return <Sarmal curve={epitrochoid7} />;
}