Astra 可以完全通过代码创建精美的 three.js 用户界面。你不需要资源库或 MCP 来创建详细的 3D 模型。这些都是代码和...

·

产品与工具 · 2026/09/06

Astra 能够完全通过代码创建精美的 three.js 用户界面,无需资源库或 MCP 即可生成详细的 3D 模型。这些模型均为代码实现,易于为代理定制。用户可提供视频、URL 或代码参考,Astra 会持续对比结果与参考并修正错误。它支持液态玻璃效果、着色器、动态设计、程序化 three.js 模型及完整环境,仅需少量提示词。文中列举了使用的提示词示例,并询问用户希望开源哪个项目。

这篇文章展示了 AI 在 3D 界面生成方面的突破性能力,通过代码而非传统资源库实现复杂视觉效果,对开发者具有启发性和实用性。

Astra can create beautiful three.js UIs entirely in code.

You don't need an assets library or MCP to create detailed 3D models. These are all code and are easy to customize for your agent. Give Astra a video, URL, or code reference, then ask it to keep comparing the result against the reference and fixing mistakes.

Liquid Glass, shaders, motion design, procedural three.js models, and full environments. All from a few prompts.

Some prompts I used:

"Recreate this in a single HTML file with three.js. Keep comparing it against the reference and fix any differences."

"Add Liquid Glass buttons. On hover, animate the lighting around the borders and make the background gradients move slightly with the pointer. Add subtle particles."

"Improve the lighting, edges, and modeling. Give the keys more depth and verify the result against the real MacBook."

Too many projects I could open-source. Let me know which one should I release.

在原站观看视频

资讯配图

阅读原文

参与讨论