2009年12月9日 星期三

DDMC (dilemma of dragon mustache candy)


設置3點,base點為固定,b點延base,b點方向伸縮,a點延著由3點定義的封閉曲線移動。
setting tree points ,the base point is fixed,and point B move back and forth along the direction of bace-B, point A move along the closed polyline which is define by three points.

當base-a線中點碰到b點,base-a線折成b-a線
if the mid point of line base-A come across point B,line base-A would change into line B-A.

當b-a線碰到base-b線中點,base-b線折為base-a線。
已此為一循環
if line B-A come across the mid point of line base-B,line base-B would change into line base-A.
it become a circulation.

沒有留言:

張貼留言