Star (7-arm)
Import
import { star7 } from "@sarmal/core/curves/star7"; A 7-pointed star shape built from Fourier harmonics in polar coordinates.
Equation
Parameters
| Family | Fourier polar |
| Period | 2π |
| Default Speed | 1 |
| Skeleton | static |
Key Features
- 7 sharp tips from base frequency 7t/2
- Same harmonic construction as Star but with 7-fold symmetry
- Fully closed in a single revolution
Usage
Standard
import { createSarmal } from "@sarmal/core";
import { star7 } from "@sarmal/core/curves/star7";
const canvas = document.getElementById("spinner") as HTMLCanvasElement;
const sarmal = createSarmal(canvas, star7); React
import { Sarmal } from "@sarmal/react";
import { star7 } from "@sarmal/core/curves/star7";
function App() {
return <Sarmal curve={star7} />;
}