tilt-shift-camera/app
Ole-Morten Duesund 2736d42e74 Fix gesture tracking: 1:1 rotation and drag, better zone detection
Rotation:
- Use direct angle calculation between touch points (atan2)
- Track initial touch angle and effect angle separately
- Effect rotation now matches finger rotation exactly

Position drag:
- Remove all sensitivity dampening
- 1:1 mapping: finger moves 100px, effect center moves 100px

Gesture zones rebalanced:
- Rotation: only very center of focus zone (< 30% of focus height)
- Size adjustment: large area around effect (30% - 200%)
- Camera zoom: only far outside the effect (> 200%)

This prevents rotation from dominating size adjustments.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 16:02:43 +01:00
..
src/main Fix gesture tracking: 1:1 rotation and drag, better zone detection 2026-01-28 16:02:43 +01:00
build.gradle.kts Initial implementation of Tilt-Shift Camera Android app 2026-01-28 15:26:41 +01:00
proguard-rules.pro Initial implementation of Tilt-Shift Camera Android app 2026-01-28 15:26:41 +01:00