Question
i want to bound circle within a box
src=wiggle(2,200);
boundary = [135,135]; // size of boundinglayer/2
clamp(src, value - boundary, value + boundary)
how i do this in dynamic way , means if shape layer is rectangle and i want when ever i change height and weidth and bound upadated , balls are bounded inside the inner box because the box have stroke. bound also updated with stroke changes ,how can ido that , can anyone give me idea?
