wobly 2D – Sokpop based
a 2D variation of the 3D wobly effect from sokpop – GODOT 4.x Ready
based on the https://godotshaders.com/author/afk/ adaption of the effect.
go give him the likes -> https://godotshaders.com/shader/joepli-wobble/
Shader code
shader_type canvas_item;
uniform float normal_offset : hint_range(0, 2, .1) = 1.5;
uniform float time_influence : hint_range(0, 50) = 3;
uniform float y_div : hint_range(0, 10, .1) = 2.87;
void vertex() {
VERTEX.x += sin(VERTEX.y * y_div + round(TIME * time_influence)) * normal_offset;
VERTEX.y += sin(VERTEX.x * y_div + round(TIME * time_influence)) * normal_offset;
}