pub struct Levers {
pub pen: f32,
pub sym: f32,
pub sharpness: f32,
pub lobe: f32,
pub decay: f32,
}Expand description
The family-specific levers: each is read by one family and is inert on every other, so none of them can move a rose.
Grouped apart from CurveParams’ shared fields so a caller that does not
draw the family reading one can take Levers::default and say so.
Fields§
§pen: f32Hypotrochoid: the pen’s distance from the rolling circle’s centre, in
rolling radii — 1 traces the cusped cycloid, below it the curtate
form, above it the prolate form with loops.
sym: f32Superformula: the symmetry number m, a whole count of lobes.
sharpness: f32Superformula: n1, the outer exponent — low draws a pointed star,
high rounds the figure toward a circle.
lobe: f32Superformula: n2, and n3 before d skews it — how the lobes swell.
decay: f32Harmonograph: the pendulums’ damping, per radian of t — the
amplitude at t is exp(-decay * t).