Skip to content

Instantly share code, notes, and snippets.

View spydmobile's full-sized avatar
🏠
Working from Home

Franco Nogarin spydmobile

🏠
Working from Home
View GitHub Profile
let requestedWidth = Slider("Width", 100, 10, 300, true, 1, 0)
let requestedDepth = Slider("Depth", 50, 5, 300, true, 1, 0)
let requestedHeight = Slider("Height", 20, 11, 100, true, 1, 0)
let rows = Slider("Rows", 2, 1, 20, true, 1, 0)
let columns = Slider("Columns", 5, 1, 20, true, 1, 0)
let outsideRadius = Slider("Radius", 10, 2, 40, true, 1, 0)
let latches = Slider("Latches", 1, 1, 3, true, 1, 0)
let hingeStyle = Dropdown("Hinge type", "pin", {Pin: "pin", Detent: "cone"}, true)