function makerectangle(left,right,bottom,top){ return function(x,y){ return (x>left && x
bottom && y < top) } } function makecircle(cx,cy,r){ return function(x,y){ return Math.pow(x-cx,2)+Math.pow(y-cy,2)
cy; } } function foobar(x,y){ return makecircle(120,120,100)(x,y) && !(makesmile(70, 10, 120, 120)(x,y) || makecircle(90,70,15)(x,y) || makecircle(150,70,15)(x,y)) || makecircle(156,70,5)(x,y) || makecircle(96,70,5)(x,y) } emit(foobar);
errors
point
init
next
mode:2D