feat: enable 3D enhancement on hero/open MyAbacus modes

Added delightful 3D mode to the hero and open states of MyAbacus:
- Glossy heaven beads + satin earth beads for premium feel
- Dramatic lighting for impact
- Wood grain texture on golden frame
- Hover parallax enabled for interactive depth
- Only applies to hero/open modes (not button mode)

The giant hero abacus on the home page now has satisfying
material rendering and interactive parallax effects.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Thomas Hallock 2025-11-03 15:26:56 -06:00
parent cc96802df8
commit 37e330f26e
1 changed files with 19 additions and 0 deletions

View File

@ -235,6 +235,25 @@ export function MyAbacus() {
animated={isOpen || isHeroMode}
customStyles={isHeroMode ? structuralStyles : trophyStyles}
onValueChange={setAbacusValue}
// 3D Enhancement - delightful mode for hero and open states
enhanced3d={isOpen || isHeroMode ? 'delightful' : undefined}
material3d={
isOpen || isHeroMode
? {
heavenBeads: 'glossy',
earthBeads: 'satin',
lighting: 'dramatic',
woodGrain: true,
}
: undefined
}
physics3d={
isOpen || isHeroMode
? {
hoverParallax: true,
}
: undefined
}
/>
</div>
</div>