Scale

Use the circle snippet to draw a shape and scale it using the scale() function.

vec2 scale(vec2 uv, float x, float y)
{
	mat2 scale = mat2(vec2(flip.x, 0.0), vec2(0.0, flip.y));
	
	uv -= 0.5;
	uv = uv * scale;
	uv += 0.5;
	return uv;
}

void fragment()
{
	vec2 scale = scale(UV, 0.8, 0.8);
	COLOR += circle(scale, 0.1, 0.001);
}