Commit Graph

4 Commits

Author SHA1 Message Date
virtheart ce08eabf62 feat: 移植原版背景/点阵遮罩/入场幕布,修复贴纸淡出与 cursor 颜色
- BackgroundFX: 1:1 移植原版 sz 多通道程序化背景(vignette→swirl→sine→shatter→bokeh→output,30% 分辨率 ping-pong,指针跟随、进度门控跳帧)
- DotOverlay: 移植原版 s1 滚动点阵遮罩(renderOrder 10,uOpacity=sT(sP))——贴纸随滚动溶入页面底色的原版机制
- LoadingCurtain+LoadingOverlay: 移植原版入场流程(径向圆洞幕布 + MaskedDots 点阵化后处理 + 居中进度条,字体/重资产 5:5 计时轴)
- sP 修正: f2 无 footer 时取 1(原版语义),相机 lerp(24,32,sP) 拉远恢复;视差 y 系数修正为 0.6
- 相机: ready 门控 intro dolly(lerp(A+8,A,customCubic),1.2s)+ 鼠标视差(lag .18/leave .05)
- GlassModels: cursor 贴色修正为亮色主题 #009dff/#009dff;新增指针跟随高光控制器 ca()
- 刷新回顶: scrollRestoration=manual + pageshow(bfcache) 双 rAF 重置 + lenis immediate
- 新增 lib/pointer.ts、lib/loadingBus.ts、lib/customCubic.ts;loadingBus 打点: 模型/贴纸/about 图
2026-09-01 02:00:54 +08:00
virtheart 91ba27ffc0 feat: 添加 AboutMedia 组件,替换签名部分并实现图层映射功能;新增 ImageLayers 组件以支持 WebGL 图像层 2026-09-01 01:09:46 +08:00
virtheart 744ec0becc feat: add glass models with advanced refractive shader and integrate into hero scene
- Introduced GlassModels component with custom vertex and fragment shaders for realistic glass effects.
- Updated HeroScene to include HelloModel and CursorStar components, utilizing the new glass shader.
- Enhanced Header component with ScrambleReveal for dynamic text display and local clock functionality.
- Implemented useIsMobile hook to adapt rendering based on screen size.
- Adjusted StickerLayer to ensure falling stickers are captured in the glass models' FBO pass.
2026-08-31 23:39:58 +08:00
virtheart 37173cfbeb Refactor code structure for improved readability and maintainability 2026-08-31 19:59:49 +08:00