Skip to content

Polish mobile camera gestures in the 3D viewer #57

Description

@slavazeph-coder

brainsnn-r3f-app/src/components/BrainScene.jsx

Improve pinch-to-zoom sensitivity, add a two-finger pan, and debounce the quality auto-switch (PerformanceMonitor onDecline/onIncline) so iOS Safari doesn't thrash between quality tiers while scrolling.

The viewer uses drei's OrbitControls (enableDamping, minDistance={4.5}, maxDistance={16}) — most of this is tuning its touch config plus a debounce around the quality state changes in App.jsx.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions