Generate an animated SVG or a running unicorn
- User
Generate an animated SVG or a running unicorn
Assistant
I'll create an animated SVG of a running unicorn for you! Here's a colorful unicorn with galloping animation:
<svg width="400" height="300" viewBox="0 0 400 300" xmlns="http://www.w3.org/2000/svg"> <!-- Background --> <rect width="400" height="300" fill="#87CEEB"/> <!-- Clouds --> <circle cx="80" cy="50" r="15" fill="white" opacity="0.8"/> <circle cx="95" cy="50" r="20" fill="white" opacity="0.8"/> <circle cx="110" cy="50" r="15" fill="white" opacity="0.8"/> <circle cx="300" cy="40" r="12" fill="white" opacity="0.8"/> <circle cx="312" cy="40" r="16" fill="white" opacity="0.8"/> <circle cx="324" cy="40" r="12" fill="white" opacity="0.8"/> <!-- Ground --> <rect x="0" y="250" width="400" height="50" fill="#90EE90"/> <!-- Unicorn Group --> <g transform="translate(200, 150)"> <!-- Body --> <ellipse cx="0" cy="20" rx="60" ry="25" fill="white"> <animateTransform attributeName="transform" type="translate" values="0,0; 0,-5; 0,0" dur="0.6s" repeatCount="indefinite"/> </ellipse> <!-- Legs (animated for galloping) --> <!-- Front legs --> <rect x="-40" y="35" width="8" height="30" fill="white" rx="4"> <animateTransform attributeName="transform" type="rotate" values="0 -36 35; 20 -36 35; 0 -36 35" dur="0.6s" repeatCount="indefinite"/> </rect> <rect x="-25" y="35" width="8" height="30" fill="white" rx="4"> <animateTransform attributeName="transform" type="rotate" values="20 -21 35; 0 -21 35; 20 -21 35" dur="0.6s" repeatCount="indefinite"/> </rect> <!-- Back legs --> <rect x="20" y="35" width="8" height="30" fill="white" rx="4"> <animateTransform attributeName="transform" type="rotate" values="0 24 35; -20 24 35; 0 24 35" dur="0.6s" repeatCount="indefinite"/> </rect> <rect x="35" y="35" width="8" height="30" fill="white" rx="4"> <animateTransform attributeName="transform" type="rotate" values="-20 39 35; 0 39 35; -20 39 35" dur="0.6s" repeatCount="indefinite"/> </rect> <!-- Hooves --> <ellipse cx="-36" cy="68" rx="6" ry="3" fill="#333"/> <ellipse cx="-21" cy="68" rx="6" ry="3" fill="#333"/> <ellipse cx="24" cy="68" rx="6" ry="3" fill="#333"/> <ellipse cx="39" cy="68" rx="6" ry="3" fill="#333"/> <!-- Neck --> <ellipse cx="-45" cy="0" rx="15" ry="30" fill="white"/> <!-- Head --> <ellipse cx="-60" cy="-15" rx="20" ry="15" fill="white"> <animateTransform attributeName="transform" type="translate" values="0,0; 0,-2; 0,0" dur="0.6s" repeatCount="indefinite"/> </ellipse> <!-- Horn --> <polygon points="-60,-35 -58,-15 -62,-15" fill="#FFD700"> <animateTransform attributeName="transform" type="translate" values="0,0; 0,-2; 0,0" dur="0.6s" repeatCount="indefinite"/> </polygon> <!-- Horn spiral --> <path d="M -60,-35 Q -58,-30 -60,-25 Q -62,-20 -60,-15" stroke="#FFA500" stroke-width="1" fill="none"> <animateTransform attributeName="transform" type="translate" values="0,0; 0,-2; 0,0" dur="0.6s" repeatCount="indefinite"/> </path> <!-- Eye --> <circle cx="-70" cy="-18" r="3" fill="#000"> <animateTransform attributeName="transform" type="translate" values="0,0; 0,-2; 0,0" dur="0.6s" repeatCount="indefinite"/> </circle> <!-- Mane --> <path d="M -45,-25 Q -35,-35 -25,-25 Q -15,-35 -5,-25" stroke="#FF69B4" stroke-width="8" fill="none" opacity="0.8"> <animateTransform attributeName="transform" type="translate" values="0,0; 2,-1; 0,0" dur="0.8s" repeatCount="indefinite"/> </path> <path d="M -45,-20 Q -35,-30 -25,-20 Q -15,-30 -5,-20" stroke="#9370DB" stroke-width="6" fill="none" opacity="0.8"> <animateTransform attributeName="transform" type="translate" values="0,0; 2,-1; 0,0" dur="0.8s" repeatCount="indefinite"/> </path> <!-- Tail --> <path d="M 60,15 Q 80,10 85,25 Q 90,40 75,45" stroke="#FF69B4" stroke-width="10" fill="none" opacity="0.8"> <animateTransform attributeName="transform" type="translate" values="0,0; -3,2; 0,0" dur="0.7s" repeatCount="indefinite"/> </path> <path d="M 60,20 Q 80,15 85,30 Q 90,45 75,50" stroke="#9370DB" stroke-width="8" fill="none" opacity="0.8"> <animateTransform attributeName="transform" type="translate" values="0,0; -3,2; 0,0" dur="0.7s" repeatCount="indefinite"/> </path> <!-- Sparkles around horn --> <circle cx="-55" cy="-40" r="2" fill="#FFD700"> <animate attributeName="opacity" values="0;1;0" dur="1s" repeatCount="indefinite"/> </circle> <circle cx="-65" cy="-38" r="1.5" fill="#FFA500"> <animate attributeName="opacity" values="1;0;1" dur="1.2s" repeatCount="indefinite"/> </circle> <circle cx="-58" cy="-45" r="1" fill="#FFD700"> <animate attributeName="opacity" values="0;1;0" dur="0.8s" repeatCount="indefinite"/> </circle> </g> <!-- Moving sparkles in background --> <circle cx="50" cy="100" r="2" fill="#FFD700"> <animate attributeName="cx" values="50;350;50" dur="3s" repeatCount="indefinite"/> <animate attributeName="opacity" values="0;1;0" dur="3s" repeatCount="indefinite"/> </circle> <circle cx="100" cy="80" r="1.5" fill="#FF69B4"> <animate attributeName="cx" values="100;400;100" dur="4s" repeatCount="indefinite"/> <animate attributeName="opacity" values="0;1;0" dur="4s" repeatCount="indefinite"/> </circle> </svg>This animated SVG features a white unicorn with a golden horn, colorful mane and tail in pink and purple, running against a sky blue background with clouds. The animation includes:
- Galloping leg movements with different timing for each leg
- Gentle bouncing motion of the body and head
- Flowing mane and tail that sway with movement
- Twinkling sparkles around the horn
- Moving sparkles across the background
- A simple ground and sky scene
The unicorn appears to be in full gallop with realistic leg positioning that cycles through the animation. You can copy this code into an HTML file or SVG viewer to see the animation in action!
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.