【Scratch】うずエフェクト

【Scratch】うずエフェクト

ぐるぐる回る渦を描画するプログラムです

GIFアニメで見る

うずの1パーツを描くのはこのプログラムです。ペンの太さと向きを変えながら描画しているだけです

【Scratch】うずエフェクト

このプログラムを実行するとこうなります

【Scratch】うずエフェクト

最終的には12個のうずを30°ずつ角度を変えなら描画してします。さらに、それらの渦の開始角度を変えながら再描画を繰り返すことでアニメーション化しています

【Scratch】うずエフェクト

Scratch 3.0に対応した書籍です[PR]

[Scratch] Vortex effect

It is a program that draws a spinning vortex.

It is this program that draws one part of the vortex. I’m just drawing while changing the thickness and orientation of the pen.

When I run this program it looks like this.

In the end, 12 vortices are drawn if the angle is changed by 30°. Furthermore, it is animated by repeating redrawing while changing the start angle of those vortices.

Scratch 3.0に対応した書籍です[PR]

タイトルとURLをコピーしました