From Code Generation to Spatial Creation: Testing Chinese Multimodal Models on 3D Web Tasks
Chinese multimodal models are evolving beyond basic code completion toward full spatial creation. This article evaluates how they handle 3D web scene generation—including character animation, particle systems, and interactive controls—and offers a five-dimension framework for assessing model output, plus common pitfalls and practical correction strategies.
As multimodal models continue to advance, the standards for evaluating their capabilities are shifting. In the past, the focus was on whether a model could complete functions, explain errors, or generate API code. Today, a truly competitive model also needs to understand images, spatial relationships, animation logic, and interaction intent—and translate that information into programs that are runnable, modifiable, and ready for further iteration.
From this perspective, the recent progress of Chinese models in visual understanding and general-purpose programming deserves close attention. They are no longer limited to “generating a snippet of code from a description.” Instead, they are attempting to complete a fuller loop: understanding requirements, designing scenes, organizing code, generating assets, handling interactions, and ultimately delivering a web-based work that can be opened and run directly.
I. Why 3D Web Pages Are a Good Test of Model Capability
A 3D web page looks like a front-end task, but it actually tests a combination of skills across multiple layers.
First, requirement understanding. A user might simply ask for “a 3D scene of an animal riding a bicycle,” but the model needs to infer the subject’s form, motion relationships, camera position, atmosphere, lighting direction, and interaction style. Merely stacking geometric shapes may run, but it hardly counts as a quality work.
Second, spatial modeling. The model must understand relative positions between objects: the character should sit on the saddle, feet should reach near the pedals, wheels must touch the ground, and as the camera moves, all objects must maintain sensible spatial relationships. Any mishandled detail leads to clipping, floating objects, or distorted proportions.
Third, code organization. A 3D scene typically includes modules for initialization, materials, lighting, cameras, animation loops, input handling, and resource management. Without a clear structure, modifying a single animation can break the entire scene.
Fourth, aesthetics and presentation. The model shouldn’t just “place” elements—it needs to know how to use color, composition, layering, and motion rhythm to enhance visual impact. This is the key difference between ordinary code generation and creative program generation.
II. From a Simple Description to a Complete Interactive Scene
In a practical test, you can give the model a representative task: generate a standalone web page depicting a character cycling along a coastal road in 3D space, with drag-to-rotate camera control.
A competent implementation should include at least the following:
- A scene container and rendering area;
- A camera and basic lights;
- Road, ocean, sky, and distant background elements;
- A hierarchical structure for the character and vehicle;
- Continuous animations such as wheel rotation and body sway;
- Mouse or touch drag controls;
- Responsive window resizing;
- A file structure that runs directly in modern browsers.
Strong models don’t just generate static geometry—they proactively add environmental details. For example, they use a gradient sky to simulate evening light, layered translucent planes for clouds and mist, repeated textures or procedural colors to build the road and ocean, and depth layering to create spatial perspective.
More importantly, the model needs to organize objects into a hierarchy. The character, frame, wheels, and decorative parts should each be separate nodes, moved together through parent-child relationships. This way, when the user rotates the camera or repositions the character, all parts maintain their relative alignment instead of requiring individual coordinate calculations.
III. Natural Animation Separates Good Output from Average Output
Whether a 3D scene feels like “a real work” depends largely on animation quality.
Take the cycling motion as an example. It can be broken down into several synchronized processes:
- Wheels rotating continuously around their axles;
- Pedals turning around the crank axis;
- The character’s body bobbing slightly with the pedaling rhythm;
- Arms staying connected to the handlebars;
- The vehicle moving smoothly along the road;
- Clouds, ocean, and background elements changing slowly.
These motions can’t be replaced with random offsets, which produce an obviously mechanical feel. A more reasonable approach is to use time-based functions to drive periodic motion, for example:
const t = performance.now() * 0.001;const cycle = Math.sin(t * speed);character.position.y = baseHeight + cycle * 0.015;pedal.rotation.z = t * pedalSpeed;wheelA.rotation.x = t * wheelSpeed;wheelB.rotation.x = t * wheelSpeed;
The key here is not the specific values, but that different parts share a common rhythm. If the body’s bobbing, pedal rotation, and vehicle movement are unrelated, the scene looks unnatural. Whether a model proactively establishes these connections is an important indicator of its program comprehension ability.
IV. Volcano Simulation Tests Broader Engineering Skills
Beyond character scenes, a volcanic eruption makes a good fixed test case. Compared with static displays, volcano simulation involves particle systems, gravity, lifecycle management, color transitions, and performance control—making it easier to expose a model’s weaknesses.
A basic volcano effect typically requires managing three types of objects:
1. Eruption particles
Particles spawn from the crater with an initial upward velocity component and some random spread. Over time, gravity pulls them down, and their trajectories gradually fall.
2. Smoke particles
Smoke moves more slowly, grows in size, and fades in opacity over its lifecycle. To avoid a harsh look, smoke can also drift slightly horizontally.
3. Lava and sparks
Lava color typically shifts from bright to dark and disappears near the ground. The model must handle position, scale, color, and opacity simultaneously rather than adjusting a single attribute.
The logic can be abstracted as pseudocode:
for (const particle of particles) {particle.velocity.y -= gravity * delta;particle.position.addScaledVector(particle.velocity, delta);particle.life -= delta;const ratio = Math.max(particle.life / particle.maxLife, 0);particle.material.opacity = ratio;particle.scale.setScalar(0.5 + (1 - ratio) * 0.8);if (particle.life <= 0) {resetParticle(particle);}}
The hard part here is “recycling.” Creating new objects every frame quickly causes memory churn and stuttering in the browser. More mature code pre-allocates a fixed number of particles and resets each particle’s position, velocity, and lifecycle when it expires.
V. How to Judge Whether Model Output Is Truly Good
Don’t judge by whether the page opens. Evaluate the output across five dimensions.
1. Runnability
Does the file load directly? Are there undefined variables, path errors, syntax errors, or initialization order issues? However beautiful a page looks, its engineering value is limited if it errors on first run.
2. Completeness
Did the model actually implement the required interactions and animations, or just produce a static, screenshot-like page? Check carefully for rotation, scaling, dragging, responsive layout, and animation loops.
3. Visual quality
Assess whether the composition is balanced, colors are harmonious, lighting has depth, and foreground and background are well separated. Zoom in on object connections to check for clipping, floating elements, and proportion issues.
4. Code maintainability
Is the code grouped by function, are variable names clear, and is there excessive duplicate logic? For longer pages, if the model proactively adds comments, configuration options, and initialization functions, the cost of later modifications drops significantly.
5. Performance stability
Check particle counts, animation frame rates, object creation patterns, and window resizing behavior. In complex scenes, models often add too many objects for visual effect while ignoring the experience on lower-performance devices.
VI. Common Model Problems and How to Fix Them Manually
Even when a model can generate a fairly complete 3D web page, some typical problems remain.
The first is “looks rich, but structurally messy.” The model may pile all logic into one function, making later changes difficult. The fix is to ask it to split scene creation, animation updates, input handling, and resource cleanup into independent modules.
The second is “the effect works, but lacks constraints.” Particles may pass through the ground, characters may detach from the vehicle, or the camera may move inside the model. Add boundary checks, approximate collision handling, and camera distance limits.
The third is “chasing first-glance impact.” Many generated results look impressive on first load, but after running continuously for a few minutes, memory grows, animations drift, or interactions fail. Engineering tests shouldn’t rely on screenshots—run sustained tests and repeat interactions to verify stability.
The last is “vague requirement descriptions.” With only a broad instruction, the model will fill in many details on its own, and the result may not match expectations. Better prompting means specifying the goal, input methods, output format, visual style, performance constraints, and acceptance criteria—and asking the model to self-check after generation.
VII. From Code Generation to a Universal Creation Interface
These experiments show that code is becoming a universal interface connecting multiple kinds of digital content. A model that can turn natural language into 3D scenes serves not only programmers, but also designers, educators, product managers, and content creators.
In education, teachers can quickly generate physics experiments, astronomy simulations, or geography demonstrations. In product design, teams can build interactive prototypes with natural language. In exhibitions and marketing, creators can rapidly produce operable visual mockups. Inside companies, developers can use models as collaborators for front-end prototyping and interaction logic.
That said, model-generated content still requires human review. For security-sensitive features, data access, complex business logic, and high-performance applications, generated code should not go straight into production. A more sensible workflow: the model handles rapid exploration and initial implementation, while developers take responsibility for architectural constraints, code review, testing, and final release.
Overall, the progress of Chinese multimodal models is reflected not only in more accurate answers, but in whether they can turn abstract intent into runnable, interactive, modifiable digital works. As models begin to understand space, animation, and visual expression, the boundaries of programming are being redefined. The competition that truly matters going forward is not how much code a model can generate, but whether it can reliably transform creative ideas into high-quality software experiences.
