Allow trains. Draw by openFrameworks

[ Video ]

[ About ]
矢印の連結。
重ならないようにしたら少し不思議な動きに。

Arrow linkage.
I tried not to overlap them, but it made the movement a little strange.

[ Source ]

[ Link ]
https://github.com/junkiyoshi/Insta20210702

[ Kinako ]

Gap to static. Draw by openFrameworks

[ Video ]

[ About ]
昨日の投稿の反転版。
移動量を下のように制動をつける。
auto power = gap_param 0.5 ? 0 : ofMap(gap_param, 0, 0.5, 1, 0);

Reversed version of yesterday’s post.
Braking the amount of movement as shown below.
auto power = gap_param 0.5 ? 0 : ofMap(gap_param, 0, 0.5, 1, 0);

[ Source ]

[ Link ]
https://github.com/junkiyoshi/Insta20210701

[ Kinako ]

Gap tremor. Draw by openFrameworks

[ Video ]

[ About ]
OpenCVでフレーム間の差分を計算して、閾値を超えた箇所だけ位置をずらして描写する。
位置情報を引数にofNoise()で計算した座標量に、0から1の値を掛けて調整する。

OpenCV calculates the difference between frames and shifts the position of the image only when the threshold is exceeded.
The position information is used as an argument, and the amount of coordinates calculated by ofNoise() is adjusted by multiplying by a value between 0 and 1.

[ Source ]

[ Link ]
https://github.com/junkiyoshi/Insta20210630

[ Kinako ]