GPT 5.4 vs 5.2 SVG test

1 min read


Recently, in Google’s Gemini 3.1 Pro announcement, I liked how they showed animated SVG examples to show model drawing skills.

I wanted to try the same idea with the newly released GPT-5.4 on March 5, 2026, and compare it against GPT-5.2.

This is the first result I got. I might add more examples later.

Sun to moon toggle

Prompt

Generate an SVG of a sliding toggle switch where hovering over the sun icon turns it into a glowing moon, smoothly fading the background from light to dark. Clean flat UI style.

GPT-5.4

Sliding day to night toggle switch A clean flat toggle switch. Hovering over it slides a sun icon into a glowing moon while the background fades from light to dark.

GPT-5.2

Sliding theme toggle An autoplaying theme toggle where the sun icon morphs into a glowing moon while the background fades from light to dark.

SVG source