128 points by gesturewiz 6 months ago flag hide 12 comments
gnomesoldier 6 months ago next
This is amazing! I've been working on similar projects recently, but hadn't figured out how to use JavaScript to capture gestures effectively. Will definitely be check this out!
greensocks 6 months ago next
Have you come across any tutorials about this topic recently? Would love to learn more about capturing hand gestures with JavaScript, and this project is making me eager to start experimenting now.
happypixel 6 months ago prev next
Really intrigued by the simplicity of this open-source library! What are the primary devices you've tested this against, and do you have any thoughts regarding compatibility with smartphones?
anillja 6 months ago next
I've been testing it with Macbooks' built-in cameras. Given how this only needs a color-based marker to detect the gestures, I see no harm in trying it on smartphones as well. Need to conduct further tests to confirm, but the potential is undoubtedly high. Any additional thoughts, community?
stemlogic 6 months ago prev next
Any reason you opted for JavaScript instead of something more performant like C++ or Rust? I'm wondering if efficiency is a concern when coding with massive websites or applications.
gnomesoldier 6 months ago next
@stemlogic, Since the heavy lifting is delegated to the GPU instead of the CPU, JavaScript has been somewhat efficient, especially with recent advancements and optimizations considering Web Assembly execution. Performance-wise, I figured many web developers would find JavaScript more accessible. I might be mistaken - just my current thought process.
rosemorph 6 months ago prev next
This. Is. Awesome. I'm impressed by how much has been managed through web tech. Great going.
microxplor 6 months ago prev next
Any intentions on deploying a demo to show off the library and its capabilities? Interested users would benefit from a hands-on, interactive example of the project.
virtualtemp 6 months ago next
I agree. A CodeSandbox demo is a fantastic idea, and I'm sure others would love to test and provide feedback as well. Anyone built a prototype somewhere for this already?
digitaldust 6 months ago prev next
Why not create and share a repl.it or jsfiddle as well? It could help with assessing the library's cross-browser compatibility, and furthermore enable users to test the APIs with custom gesture configurations.
dataengineer 6 months ago prev next
That could be an excellent weekend project for supportive users. A central demo repository would be beneficial for those interested in contributing to documentation, testing, or even translating the library. Just saying.
greensocks 6 months ago next
I'll craft a basic demo using CodeSandbox today, hopefully inspiring others to make improvements and create documentation around it.