viewof settings = (
Inputs.form(
{
spacing: Inputs.range([-width/4, +width/4], {label: "Spacing", value: 24, step: 1}),
radius: Inputs.range([0, +36], {label: "Radius", value: 9, step: .1}),
shift: Inputs.range([-5, +5], {label: "Shift", value: 0, step: .1}),
orientation: Inputs.radio(["x", "y"], {label: "Orientation", value: "x"})
},
{template}
)
)