Repository navigation
Conversation
On a tap the stick swings up and back down onto the spot, the holding hand rising with it, and the tap sound plays when the fingertip lands. A new Swing range button in the toolbar opens a slider from Off to 2x (default 1x); Off keeps today's tap exactly. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Do I get this right: the more you tap the finger onto the screen the higher is the swing to mimic aggressiveness? 😄 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi Kamran, I love TinyHand 😄 Was going to buy the physical pointer hand, but a friend sent me a link and this is so much better!
To make the interaction a bit more satisfying, how about making the stick move more expressively on tap? 😃 Similar to how it moves in physical space. I'd like to suggest to add it to the original app.
This PR adds a slider where users can determine the range of motion on tap, from how it is now to moving quite expressively.
What changes
ArmView.strikeDelay, 0.22 s). The laser style is unchanged and still plays at once.All of it lives in
ArmView.swing(at:)inSources/TinyHand/ArmView.swift, plus a small change inOverlayControllerto delay the sound, theswingRangepreference, and the slider tray inToolbar.RenderTestskips the swing so snapshots stay the same.Testing
Built with
swift buildon macOS and tried on a MacBook Pro screen:The timings and distances were tuned in a small browser prototype that mirrors the Swift code. You can try it in your browser; I left it out of this PR.
Happy to change the amounts, or make Off the default if you'd rather keep today's tap unless people turn it up.
Look forward to hearing your thoughts. You can also message me at hi@anja.design or on LinkedIn. Thanks for making TinyHand!