Dometyl.Curvature
val well :
?tilt:float ->
?tilt_correction:(xrot:float -> tilt:float -> float) ->
radius:float ->
float ->
well
well ?tilt ?tilt_correction ~radius angle
Describe a column of keys distributed in increments of angle
radians along a circle of the given radius
on the yz-plane. If provided tilt
will apply a y-axis rotation to the key before the x-axis rotation of the well curvature, effectively tilting inwards. This combination of rotations creates gaps between the keys, so by default, some counter z-axis rotation is applied. The default counter transformation can be overidden by tilt_correction
(function from xrot
and tilt
radians to the radians to rotate around the z-axis).
val fan : ?tilt:float -> radius:float -> float -> fan
fan ?tilt ~radius angle
Describe a column of keys distributed in increments of angle
radians along a circle of the given radius
on the xy-plane. If provided tilt
will apply a y-axis rotation to the key before the z-axis rotation of the fan curvature, effectively tilting inwards.