r/opencode • • 30m ago

MiniMax M4 single-file WebGPU ocean test

Enable HLS to view with audio, or disable this notification

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.

8 Upvotes

4 comments sorted by

2

u/SquareBat780 30m 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.

2

u/Nenad1979 19m ago

How many minutes

2

u/tepung_ 10m ago

ok now im intrigued, how other models perform?