r/opencode • • 1d ago

MiniMax M4 single-file WebGPU ocean test

Tested MiniMax M4 on a single-file WebGPU water prompt with headless Chrome critic subagents, and just added minimax/minimax-m4 to my OpenCode model list now that it is up on OpenRouter.

Result is one 135 KB HTML file with no libraries: JONSWAP + Toba wave spectrum, three FFT cascades, floating camera, five sea states from calm noon to gale. Prompt in comments.

1 Upvotes

1 comment sorted by

1

u/VisualFew3853 1d ago

Prompt used for the WebGPU ocean build:

Make the most realistic water scene you can, in WebGPU, with a floating camera. Write the renderer from scratch with no engine or libraries, and deliver it as a single self-contained HTML file. Check your own work: render screenshots in headless Chrome and have separate critic subagents review them, so you are not grading your own output.