Skip to main content

star_rosette

Function star_rosette 

Source
pub fn star_rosette(n: u32, contact_angle: f32, out: &mut Vec<SegmentInstance>)
Expand description

Build an n-fold star rosette with the given contact_angle (radians) into out (cleared first). Produces 2 * n segments when every petal tip resolves. Positions are in roughly the unit disc; the scene fit-normalizes.