Ketinit(); Setparent(Cdyname()+"fig"); Setketcindyjs(["Size=1","No=all","Col=[0,0,0,0.2]"]); Addax(0); div=50; A.xy=2*[0,2]; B.xy=2*[-sqrt(3),-1]; C.xy=2*[sqrt(3),-1]; a=|C-B|; b=|A-C|; c=|B-A|; len=a+b+c; Delta=(len/2)/div; Slider("S",[-len/4,YMIN-0.5],[len/4,YMIN-0.5]); Listplot("P",[A,B,C,A],["dr,2"]); Shade(["sgP"],["Color=greenyellow"]); Triangle(s):=( regional(t,p1,p2,p3); if(s