Now In Code

3D 主视觉动画引导页

每页引导顶部是一段循环 3D 场景:棋子翻滚掠过发光白王、虹彩玻璃蝴蝶扇翅,或钥匙飞入金色锁孔。版式统一,用 variant 属性在 HTML 预览和 React Native 组件中切换场景。

灵感来自 @Onimicee_Design 在 X 上发布的设计由 Now In Code 从零重建

Agent 提示词

Add the Now In Code component "animated-3d-hero-onboarding" to this project.

The full source is attached at the end of this prompt. Put the files under components/animated-3d-hero-onboarding/, install the listed dependencies with `npx expo install`, and render it on a route I can open.

Keep the timing and easing values documented in the source comments. Replace the sample copy and artwork with content from my app, or leave placeholders and list what I still need to supply.

=== Source files are attached here for paid plans ===
Pro 作品。提示词包含完整源码。开始使用

详情

平台
iOS、Android
依赖
Expo SDK 54+
权限
Pro
更新于
2026 年 11 月 24 日
许可证
无限商业项目
原始设计
@Onimicee_Design(X)

你是设计者吗? 请求我们修改或下架此作品.

CLI 与 MCP 服务器 即将推出

在终端添加作品,或让智能体自行获取。在此之前,用“复制提示词”也能做到。 文档

功能说明

一个深色金融类引导页,有三个版本,布局完全相同,只有顶部的 3D 主体和标题不同。第一个版本是一枚发光的白色国王棋子,同时有黑色的光泽棋子翻滚着进入并堆叠。第二个版本是一只虹彩玻璃蝴蝶,循环地扇动翅膀。第三个版本是一把从右上方飞入的古董钥匙,钥匙齿后方的金色钥孔亮起,钥匙转动并滑入,同时光环逐渐变大。3D 区域下方依次淡入两行标题、一句短文和一个带箭头的白色胶囊按钮。标题词逐个出现,伴随轻微上升和模糊效果,按钮以轻微过冲弹出。

实现方式

3D 层使用 expo-gl 的 GLView 运行 three.js,每个主体都在自己的场景模块中以程序方式生成,入场时间线由一个共享核心统一管理。Three 从 ES 源码路径导入,因为其 CommonJS 入口需要 Node API。标题的显现、状态栏和按钮使用 react-native-svg 和普通视图,时间由 requestAnimationFrame 循环推进。一个 prop 用来选择版本。3D 区域底部通过渐变蒙版淡入黑色背景。

适用场景

  • 带有一个主视觉对象的金融、钱包或银行首次启动页面
  • 每一页切换一个 3D 主体的引导页
  • 在 Expo 中运行 three.js 场景的参考示例

依赖

threeexpo-glexpo-fontreact-native-svgreact-native

标签

3D 物体3D 旋转深色引导页习惯效率转场拟物3D错峰入场

相关作品