跪拜 Guibai
← All articles
Agent · OpenAI · AI

Spark X2.6 Turns One Prompt into a Working ESP32 Lab, a Fixed Volcano Bug, and a CSS Rubik's Cube

By 沉默王二 ·
Read original on juejin.cn ↗ Google Translate ↗ Alt translation

The gap between Chinese and Western frontier models just narrowed for agentic coding: a 293B MoE with a 1M context produces complete 3D apps and fixes physics bugs from a single prompt, and the recipes are public for anyone to verify.

Summary

Spark X2.6, iFlytek's new MoE model, is trained entirely on domestic Chinese compute and features 293B total parameters with 30B active per token, plus a 1M-token context window. The model is positioned for long-horizon tasks, code development, and Agent execution, and the tests here put that claim to work.

A round of prompts demanded zero external 3D assets and single-file delivery. They produced an ESP32 mini piano lab with React, TypeScript, and Three.js, complete with a three-step teaching interface and Arduino code; a volcano eruption demo where it diagnosed a hardcoded ground height (y=90) that made lava hover in mid-air and fixed it by computing terrain height from (x,z) coordinates and projecting velocity along the slope; a pure-CSS 3x3 Rubik's cube using integer coordinates and 3x3 orientation matrices; and a flight simulator with six-degree-of-freedom physics and procedural terrain.

All models are reported to have run to completion, though the flight simulator needed debugging. The full prompts are included for anyone to reproduce the tests, which is what makes this more than a marketing claim; it's a benchmark you can run yourself.

Takeaways
— Spark X2.6 is a Mixture of Experts model with 293B total parameters and 30B active per token.
— Its context window is 1M tokens, aimed at long-horizon code and Agent tasks.
— The model is trained entirely on domestic Chinese compute.
— A single prompt generated an ESP32 mini piano lab with React/TypeScript/Three.js, including a 3D hardware tour, touch-key audio, and Arduino code.
— It fixed a physics bug in a volcano simulation where lava hovered at y=90, replacing a hardcoded ground height with a dynamic terrainHeight(x,z) and tangential velocity projection.
— A pure-CSS 3x3 Rubik's cube was built with integer coordinates and 3x3 orientation matrices for each of 27 blocks, including drag threshold handling and 20-step scramble.
— A flight simulator with six-degree-of-freedom physics and procedural terrain was generated in a single HTML file.
— All prompts are included in the article for reproduction in any Agent tool.
Conclusions

The Rubik's cube case is notable because it requires the model to maintain a consistent 3D state across 27 moving parts; the fact that it used 3x3 matrices rather than incrementally accumulating angles shows it reasoned about coordinate transforms.

The physics bug fix is a strong test: the model had to read the original code, identify the hardcoded constant, and apply geometric reasoning about slope normals, not just pattern-match a common error.

Marketing claims aside, the full prompts make the tests falsifiable: anyone can run them in their own Agent tool and compare.

From the discussion
Featured comments
够久就走i

Ever since DeepSeek open-sourced its reasoning model, all sorts of domestic models have started to pop up, haven't they? Right?

See top comments, translated →
Source: juejin.cn ↗ Google Translate ↗ Backup ↗