設置一條曲線為小魚群軌跡,AB與ab點分別定出大魚起始點和方向
setting one cure as the path of school of fish , pointABab for startingpoint and vector
當小魚群本身轉彎,體積變大
when school of fish make a turn itself ,the whole volume become bigger
大魚進入小魚群範圍,小魚群方向偏移且體積變大
when big fish getting into the scope of school of fish, fishes make a turn and become bigger
大魚離開小魚群範圍,小魚群方向偏移且體積變小
when big fish getting away the scope of school of fish,fishes make a turn and become smaller
大魚在小魚範圍外,小魚照原軌跡移動
if big fish is out of the scope of school of fish,fishes move on it's own way
透過控制小魚群的大小和大魚的位置、方向、速度、範圍改變小魚連續移動的管狀物的形態
by controlling the scope of school of fish and the position,direction,speed,scope of big fish,the shape of moving fishes would change
沒有留言:
張貼留言