/** Provider is a demo element. \color #fba \symbol Pv \symmetries normal */ element Provider{ DebugUtils du; EventWindow ew; AtomUtils au; Random rm; Void behave(){ WindowServices ws; ws.reset(1,1); Empty e; Signal s; Int et=au.getType((Atom) e); if(ws.scan(et)){ //check if there is empty slot to produce Signal atoms if(rm.oneIn(3)){ ew[ws.getPick(0)]=s;//pick a random site to send out a Signal } } } }