9 lines
No EOL
181 B
Text
9 lines
No EOL
181 B
Text
shader_type canvas_item;
|
|
|
|
uniform float radius = 0.0;
|
|
uniform float speed = 0.0;
|
|
|
|
void vertex() {
|
|
VERTEX.x += cos(TIME * speed) * radius;
|
|
VERTEX.y += sin(TIME * speed) * radius;
|
|
} |