r/opencode • • 10h 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.

96 Upvotes

7 comments sorted by

7

u/SquareBat780 10h 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.

1

u/Hudsxn98 7h ago

You forgot "no em dashes", "make no mistakes" do you even vibe bro ;)

5

u/Nenad1979 10h ago

How many minutes

3

u/tepung_ 10h ago

ok now im intrigued, how other models perform?

2

u/warpaint_james 7h ago

Used it last night on high to fix a stubborn issue. Got it fixed very quickly. Didn't even need max!

1

u/Sanyoura 21m ago

Where the final file?