Can we talk about how insane Gemini 3.1 Pro is at webgl
352,636 次观看
61 条评论
评论来自 X (Twitter) 上的原帖

@MengTo
So many prompt ideas to add that spice to your UI. Find all the demos on which you can use for your landing pages: Let’s start with the workflow. From experience, animations or webgl don’t work well on the first prompt. It’s best to use on an existing design. So start to screengrab your design, and turn that to HTML by prompting: “ONLY make the UI EXACTLY as reference. Animate details. Add WebGL animation of the lines.”. Even if I mention animations, the result will be underwhelming. That’s why the second part is far more important to get the animations right. Prompt “add particles surrounding the layout like debris and lines using webgl, subtle dark lines and particles. rain hitting the layout and splashing”. Iterate: “more rains, longer lines, gooey liquid.” Try more concepts like “typewriter animation on heading looped. container sized lines with mini squares in corners.” “beam animations on horizontal lines. flashlight hover on borders.” “webgl particles earth globe. make the particles a bit brighter. should be be brighest near mouse. add flashlight on borders on mouse hover.” “dark mode, webgl lines, performant. full-width 3d grid lines. make the 3d grid respond to mouse.” “make webgl interactive, push on hover, explore on click.” “only keep the dots. make this performant. add lines shooting from each dot.”
230 个赞

@jdassonval
I’ve run a few tests, and for AI-assisted creative dev, Gemini often performs better than Claude. On the other hand, for complex architecture or applications, Claude Code tends to deliver better results. So I usually use Gemini for frontend work and Claude for everything else.
24 个赞

@MengTo
Agreed, Claude is a beast for coding but I find Gemini better at design.
12 个赞

@MereawiMusie
I think some of it was achievable with Gemini 3 Flash to some extent especially the particle effect ones and the ones that included mouse interactivity just like this project.
12 个赞

@MengTo
I'd say 3.1 is more detailed and has more variety.
9 个赞

@MereawiMusie
I'd have to experiment with it then. Appreciate the reply.
1 个赞

@bilawalsidhu
Is it really that much better than opus? My experience has been mixed
11 个赞

@MengTo
opus is honestly cost prohibitive for visual experiments. from experience, gemini 3.1 pro is better at design/frontend.
19 个赞

@dipeshdotdev
I think I lack creativity when working on frontends , I tried and it created pretty generic sites. While everyone is creating awesome frontends
7 个赞

@MengTo
or perhaps you got the wrong prompting workflow. try screenshot -> html -> add webgl after first iteration. but wait for the static visual to be good.
20 个赞

@dipeshdotdev
Okay I try to one shot everything in a single detailed prompt.

@Chirag__Gadhvi
The model is very slow in Antigravity 🥹
5 个赞

@MengTo
there are overload times, like 9am EST. try outside those hours like 9pm EST.
5 个赞

@Chirag__Gadhvi
Sure I'll test this today!!
2 个赞

@xMikeMickelson
three.js devs watching this and quietly reconsidering their career choices
4 个赞

@MengTo
tbh everything is reconsidering their career choices
6 个赞

@MengTo
will share soon
3 个赞

@SidraMiconi
The progression from "add particles" to "rain hitting the layout and splashing" to "gooey liquid" is essentially art direction through natural language. A year ago this required a WebGL specialist and three weeks. Now it's iterative prompting over lunch. The creative ceiling didn't move. The floor disappeared. The fact that this is Gemini 3.1 Pro and not GPT or Claude producing these WebGL results is a meaningful competitive signal. Google has been perceived as trailing in creative coding tasks — the narrative has been "OpenAI for creative, Anthropic for enterprise, Google for search." This thread directly challenges that with visual evidence that Gemini's code generation for interactive graphics is at least competitive and potentially leading. 122K views means this is shifting perceptions in real time. The best marketing for a model isn't a benchmark score — it's a viral thread showing what it can actually produce.
3 个赞

@dann_pvn
This looks awesome! Tbh, I don't believe this was built by Gemini at all, but maybe I suck at prompting.
3 个赞

@MengTo
my api logs would otherwise. have you tried the prompts i posted?
1 个赞

























