Rect {which reminds me somehow to SVG, as well as things like
arcHeight: 30
arcWidth: 30
stroke: black
strokeWidth: 3
transform: translate(10, 0)
height: 300
width: 330
fill: Pattern {
content: picks()
}
};
operation MotoProducts.doDrop(yStart, yEnd, f(y), delay, bounce) {
for (b in [false, true]) (dur delay linear){
if (b) {
var d = if bounce then 1000 else 800;
var ys = if bounce then [[yStart..yEnd], [yEnd..yEnd -10], [yEnd-10..yEnd]] else [yStart..yEnd];
for (i in ys) (dur d) {
f(i);
}
}
}
}
which reminds me to... mmmmmmm.... ECMA script?