Hands-On Test of LLM Code and Animation Generation: Understanding the "Uneven Skills" Problem

    This article reports a hands-on test of a general-purpose LLM asked to generate an SVG animation of a pelican riding a bicycle. It documents uneven capabilities: usable code structure but unstable visual semantics and spatial reasoning. The article covers the test method, three recurring failure patterns, a comparison with another model, and a practical checklist for improving output quality through explicit constraints, layered generation, self-check loops, and kinematic templates.

    1. The Takeaway: Not Well-Rounded, but Uneven

    In a hands-on test built around a realistic task, a general-purpose LLM showed clear signs of uneven capability when asked to “generate an SVG animation of a pelican riding a bicycle.” The code structure was largely usable, but the handling of visual semantics and spatial relationships was unstable. In the first round, the pelican’s “hands” were not on the handlebars, and its orientation was the opposite of what was expected. After an image-recognition plugin was connected for self-checking, the model detected and fixed the “hands not on the handlebars” issue but missed the more obvious “wrong orientation” problem; it only corrected that after a human prompt. The final scene did run, but the limb proportions, claw shape, and the coordination between the legs and pedals all looked stiff.

    To be clear, this was not a leaderboard-style benchmark, but a record of hands-on experience across a few real cases. Task complexity, context length, and tool-call chains vary widely, so the conclusions apply only to these specific runs. The test used a high reasoning setting and standard mode, with the goal of observing overall performance across three dimensions: constraint following, multimodal self-checking, and physical plausibility.

    2. Test Method and Evaluation Criteria

    To avoid “scoring by gut feeling,” this test used a reproducible minimal loop:

    1. Task definition: In a single HTML file, draw a 2D animation using SVG, with a pelican riding a bicycle as the subject. It must face the correct direction, keep its hands on the handlebars, and have its legs move in a circular motion in sync with the pedals.
    2. Generation constraints: Only inline styles and scripts are allowed, with no external resources; the animation must loop.
    3. Self-check chain: After generation, connect image-recognition capability for a “describe what you see” step so the model can find problems and iterate on its own.
    4. Human review: Perform a second-pass judgment on the model’s self-check results, recording misses and false positives.
    5. Evaluation scope: Evaluate only this output; do not extrapolate to general capability.

    The minimal skeleton below is illustrative and helps show the gap between “runnable” and “deliverable”:

    1. <!doctype html>
    2. <html lang="en">
    3. <head>
    4. <meta charset="utf-8" />
    5. <style>
    6. svg { width: 100%; height: auto; display: block; }
    7. </style>
    8. </head>
    9. <body>
    10. <svg viewBox="0 0 400 240" role="img" aria-label="pelican riding a bicycle">
    11. <!-- Elements such as wheels, frame, pelican, legs, and pedals -->
    12. </svg>
    13. <script>
    14. // Use requestAnimationFrame or SVG animation to drive the circular pedal motion
    15. </script>
    16. </body>
    17. </html>

    3. Key Observations: Three Common Problem Categories

    3.1 Visual Semantic Bias

    “Hands on the handlebars” is an explicit constraint, which the model could recognize and fix. But “wrong orientation” is a global spatial relationship, which the model tended to overlook during self-checking. This suggests multimodal self-checking is better at local element matching and weaker at judging consistency in overall layout and direction.

    3.2 Unreasonable Physics and Structure

    Even after the orientation was corrected, problems remained with limb proportions, claw shape, and legs extending from below. “Able to move” is not the same as “plausible.” The model’s modeling of joint hierarchies and kinematic chains is still rough, which makes the motion look “paper-thin.”

    3.3 Stability of Constraint Following

    In long contexts and multi-turn iterations, early constraints are easily diluted. Without an explicit checklist and item-by-item verification, the model tends to “fix one thing and break another,” and delivery quality fluctuates noticeably.

    4. Comparison: Coordination Issues in Another Model

    On the same task, another general-purpose model (referred to here as an “evolving” model) generated a thinner pelican, but its legs could follow the pedals in a circular motion, and overall coordination was better. This shows that “physical linkage” is not unsolvable; rather, different models make different trade-offs on “kinematic constraints”: some lean toward static composition, while others lean toward dynamic plausibility. For developers, model selection should return to the task itself: if visual storytelling and motion coordination matter most, examine kinematic performance closely; if static fidelity matters most, focus on composition and detail.

    5. An Actionable Improvement Checklist

    1. Make constraints explicit: Write “direction, hands on the handlebars, circular leg-pedal linkage” as a numbered checklist, and require the model to self-check each item and output a verification table.
    2. Layered generation: Produce static keyframes first, then add animation; define the skeleton hierarchy first, then fill in details, reducing the difficulty of one-shot generation.
    3. Self-check loop: Connect image recognition for a “look, find errors, fix” cycle, but humans must review global direction and proportions.
    4. Kinematic templates: Provide a parameterized template for the pedal-leg system (angle, radius, phase) so the model only fills in parameters, reducing structural errors.
    5. Regression cases: Turn each fix into a case and build a small regression set to prevent “fix one thing and break another.”

    An illustrative parameterized approach:

    1. const crank = { cx: 200, cy: 170, r: 18, phase: 0 };
    2. function legJoint(angle) {
    3. // Use the pedal circle as a constraint and solve backward for the knee joint position
    4. return { x: crank.cx + crank.r * Math.cos(angle), y: crank.cy + crank.r * Math.sin(angle) };
    5. }

    6. Evaluation Advice: Don’t Treat Experience as a Ranking

    Hands-on experience with real tasks is valuable, but it cannot be extrapolated into a general capability ranking. It is recommended that teams build a three-layer evaluation: first, automated structural checks (whether elements are complete and constraints are satisfied); second, multimodal self-checking (local error detection rate); third, human review (global consistency and physical plausibility). Combining the three layers is what makes it possible to pinpoint “uneven skills” to specific capability dimensions rather than assigning a vague overall score.

    7. Conclusion

    The core lesson from this hands-on test is that LLMs can already “get running” on code and animation generation, but they still fall short of “delivery-grade” quality, with clear unevenness in spatial relationships, physical linkage, and constraint stability. Developers should focus on making constraints explicit, layered generation, and self-check loops, using engineering methods to compensate for model weaknesses. For more stable generation and collaboration, you can look into Baidu AI Cloud’s related general capabilities and toolchains, and improve delivery quality in real projects through case-driven, continuous regression.