<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: NAGENDRA DHARMIREDDI</title>
    <description>The latest articles on DEV Community by NAGENDRA DHARMIREDDI (@pvscreations).</description>
    <link>https://dev.to/pvscreations</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1439112%2Fccf41ae7-579c-4ad8-a9b2-509a6644c638.jpeg</url>
      <title>DEV Community: NAGENDRA DHARMIREDDI</title>
      <link>https://dev.to/pvscreations</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/pvscreations"/>
    <language>en</language>
    <item>
      <title>React Three Fiber and 8th Wall on One WebGLRenderer</title>
      <dc:creator>NAGENDRA DHARMIREDDI</dc:creator>
      <pubDate>Sat, 14 Nov 2026 09:14:01 +0000</pubDate>
      <link>https://dev.to/pvscreations/react-three-fiber-and-8th-wall-on-one-webglrenderer-123j</link>
      <guid>https://dev.to/pvscreations/react-three-fiber-and-8th-wall-on-one-webglrenderer-123j</guid>
      <description>&lt;p&gt;8th Wall already gives you a WebGL canvas, a Three.js scene, a SLAM-tracked camera, and a render loop. React Three Fiber (R3F) expects the same things: a canvas, a renderer, and its own frameloop.&lt;/p&gt;

&lt;p&gt;Wire them together carelessly and you end up with a second &lt;code&gt;&amp;lt;Canvas&amp;gt;&lt;/code&gt;, a second &lt;code&gt;WebGLRenderer&lt;/code&gt;, and two systems fighting over the same frame. Drawing, resizing, and picking all suffer.&lt;/p&gt;

&lt;p&gt;This project is not about replacing 8th Wall with R3F. It is about running both together, with one canvas, one &lt;code&gt;WebGLRenderer&lt;/code&gt;, and one clear owner of the runtime. I've open-sourced a small starter (plus an optional npm package) that does exactly this.&lt;/p&gt;

&lt;h2&gt;
  
  
  Links
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Demo: &lt;a href="https://react-three-fiber-8thwall.vercel.app/" rel="noopener noreferrer"&gt;react-three-fiber-8thwall.vercel.app&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;GitHub: &lt;a href="https://github.com/nagendra-dharmireddi/react-three-fiber-8thwall" rel="noopener noreferrer"&gt;nagendra-dharmireddi/react-three-fiber-8thwall&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;npm: &lt;a href="https://www.npmjs.com/package/react-three-fiber-8thwall" rel="noopener noreferrer"&gt;react-three-fiber-8thwall&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The contract
&lt;/h2&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;XR8 drives the runtime. R3F owns the scene graph.&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Everything in the starter follows from that one rule.&lt;/p&gt;

&lt;h3&gt;
  
  
  1. One canvas, one renderer
&lt;/h3&gt;

&lt;p&gt;R3F reuses the &lt;code&gt;gl&lt;/code&gt;, &lt;code&gt;scene&lt;/code&gt;, and &lt;code&gt;camera&lt;/code&gt; from &lt;code&gt;XR8.Threejs.xrScene()&lt;/code&gt;. There is no nested &lt;code&gt;&amp;lt;Canvas&amp;gt;&lt;/code&gt; and no second &lt;code&gt;WebGLRenderer&lt;/code&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. One draw path
&lt;/h3&gt;

&lt;p&gt;XR8.Threejs renders both the camera feed and the scene. To make sure R3F doesn't also render, a small helper called &lt;code&gt;StopR3FRender&lt;/code&gt; registers a &lt;code&gt;useFrame&lt;/code&gt; callback with priority &lt;code&gt;1&lt;/code&gt; and an empty body. Taking over R3F's default render step this way means it never calls &lt;code&gt;gl.render&lt;/code&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. XR8 drives the frame tick
&lt;/h3&gt;

&lt;p&gt;R3F runs with &lt;code&gt;frameloop: "never"&lt;/code&gt;. On every XR8 &lt;code&gt;onUpdate&lt;/code&gt;, the bridge calls &lt;code&gt;advance()&lt;/code&gt; (using &lt;code&gt;THREE.Timer&lt;/code&gt;), so your &lt;code&gt;useFrame&lt;/code&gt; hooks still run, but on XR8's tick rather than a second competing loop.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Resize without fighting XR8
&lt;/h3&gt;

&lt;p&gt;While R3F is configuring itself, &lt;code&gt;setSize&lt;/code&gt; and &lt;code&gt;setPixelRatio&lt;/code&gt; are muted, so XR8 (for example through &lt;code&gt;FullWindowCanvas&lt;/code&gt;) keeps control of the drawing buffer. Then, on XR8's &lt;code&gt;onCanvasSizeChange&lt;/code&gt;, the canvas CSS box size is passed into R3F. This keeps layout and picking much better aligned.&lt;/p&gt;

&lt;p&gt;In short: &lt;strong&gt;hosts own the runtime, children own the scene.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What you write as an app author
&lt;/h2&gt;

&lt;p&gt;Your code looks like normal R3F. You just put the scene under a host component:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight tsx"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nc"&gt;EighthWall&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="s2"&gt;"./eighthwall/EighthWall"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nc"&gt;Experience&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="s2"&gt;"./eighthwall/Experience"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="k"&gt;export&lt;/span&gt; &lt;span class="k"&gt;default&lt;/span&gt; &lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nc"&gt;App&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nc"&gt;EighthWall&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;
      &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nc"&gt;Experience&lt;/span&gt; &lt;span class="o"&gt;/&amp;gt;&lt;/span&gt;
    &lt;span class="o"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="nc"&gt;EighthWall&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;
  &lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;Experience&lt;/code&gt; is an ordinary R3F tree: &lt;code&gt;&amp;lt;mesh&amp;gt;&lt;/code&gt;, &lt;code&gt;useFrame&lt;/code&gt;, and so on. For desktop or non-AR development, you can drop the same component into a plain R3F canvas:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight tsx"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nc"&gt;Canvas&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="s2"&gt;"@react-three/fiber"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nc"&gt;Canvas&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;
  &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nc"&gt;Experience&lt;/span&gt; &lt;span class="o"&gt;/&amp;gt;&lt;/span&gt;
&lt;span class="o"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="nc"&gt;Canvas&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You still need two things in your &lt;code&gt;index.html&lt;/code&gt;:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The 8th Wall engine, XRExtras, and landing-page script tags&lt;/li&gt;
&lt;li&gt;A canvas with the class &lt;code&gt;r3f-8thwall&lt;/code&gt;, which is what the host looks up:
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;canvas&lt;/span&gt; &lt;span class="na"&gt;class&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"r3f-8thwall"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&amp;lt;/canvas&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  How the pieces fit
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Piece&lt;/th&gt;
&lt;th&gt;Role&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;EighthWall&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Boots XR8 and mounts your R3F children on the shared scene&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;StopR3FRender&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Prevents R3F from calling &lt;code&gt;gl.render&lt;/code&gt;, since XR8 does the drawing&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;createR3FModule&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;The bridge: shares XR8's &lt;code&gt;gl&lt;/code&gt;, scene, and camera, sets &lt;code&gt;frameloop: "never"&lt;/code&gt;, calls &lt;code&gt;advance()&lt;/code&gt; on each XR8 update, and guards resizing&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;initializeXR&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Sets up the standard 8th Wall pipeline modules, with the R3F bridge added last&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  Why bother?
&lt;/h2&gt;

&lt;p&gt;With this, we can write our 8th Wall projects declaratively, in far fewer lines of code. Instead of fighting imperative Three.js setup (creating, adding, updating, and disposing objects by hand), we describe the scene as components and let React Three Fiber handle the rest. That frees us to focus on building quick, creative Three.js objects in the 8th Wall world.&lt;/p&gt;

&lt;p&gt;We can also:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Write declarative scenes:&lt;/strong&gt; meshes, lights, and groups are just JSX.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Write less code:&lt;/strong&gt; setup, update, and disposal logic is handled by R3F.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Iterate faster:&lt;/strong&gt; small ideas become working AR experiments quickly.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Use the pmndrs ecosystem:&lt;/strong&gt; libraries built on React Three Fiber, like &lt;a href="https://github.com/pmndrs/drei" rel="noopener noreferrer"&gt;drei&lt;/a&gt;, work in your AR scene, so helpers like &lt;code&gt;useGLTF&lt;/code&gt; and &lt;code&gt;Text&lt;/code&gt; are ready to use.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Try the starter
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/nagendra-dharmireddi/react-three-fiber-8thwall.git
&lt;span class="nb"&gt;cd&lt;/span&gt; react-three-fiber-8thwall
npm install
npm run dev
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Open the &lt;strong&gt;HTTPS&lt;/strong&gt; network URL on your phone, because camera access requires a secure context. The starter uses &lt;code&gt;@vitejs/plugin-basic-ssl&lt;/code&gt; to provide local SSL.&lt;/p&gt;

&lt;p&gt;If you'd rather use it as a package:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npm install react-three-fiber-8thwall three @react-three/fiber
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight tsx"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nc"&gt;EighthWall&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="s2"&gt;"react-three-fiber-8thwall"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nc"&gt;EighthWall&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;
  &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nc"&gt;YourScene&lt;/span&gt; &lt;span class="o"&gt;/&amp;gt;&lt;/span&gt;
&lt;span class="o"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="nc"&gt;EighthWall&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;With the package, you still add the 8th Wall CDN scripts and the &lt;code&gt;r3f-8thwall&lt;/code&gt; canvas to your own HTML, plus the canvas CSS rule &lt;code&gt;touch-action: none&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Common mistakes to avoid
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Nesting a second R3F &lt;code&gt;&amp;lt;Canvas&amp;gt;&lt;/code&gt; inside the AR host&lt;/li&gt;
&lt;li&gt;Letting R3F also call &lt;code&gt;gl.render&lt;/code&gt;, which fights XR8's draw (often a white screen)&lt;/li&gt;
&lt;li&gt;Missing or misnamed canvas class (it must be &lt;code&gt;r3f-8thwall&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;Missing 8th Wall script tags&lt;/li&gt;
&lt;li&gt;Missing canvas CSS (&lt;code&gt;touch-action: none&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;Letting R3F run &lt;code&gt;setSize&lt;/code&gt; against XR8 during configure, which can desync the buffer and layout&lt;/li&gt;
&lt;li&gt;Overwriting &lt;code&gt;camera.position&lt;/code&gt; every frame in AR (let XR8 own the SLAM pose)&lt;/li&gt;
&lt;li&gt;Testing over plain HTTP instead of HTTPS&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Why this exists
&lt;/h2&gt;

&lt;p&gt;Most R3F and 8th Wall glue code either forks too much or accidentally creates two renderers. This repo stays small on purpose: starter first, npm package second, MIT licensed.&lt;/p&gt;

&lt;p&gt;If it's useful to you, try the demo on your phone, star the repo, and open an issue if anything is unclear.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Demo: &lt;a href="https://react-three-fiber-8thwall.vercel.app/" rel="noopener noreferrer"&gt;react-three-fiber-8thwall.vercel.app&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;GitHub: &lt;a href="https://github.com/nagendra-dharmireddi/react-three-fiber-8thwall" rel="noopener noreferrer"&gt;nagendra-dharmireddi/react-three-fiber-8thwall&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;npm: &lt;a href="https://www.npmjs.com/package/react-three-fiber-8thwall" rel="noopener noreferrer"&gt;react-three-fiber-8thwall&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>webar</category>
      <category>threejs</category>
      <category>react</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Guide to VisualGestures.js: Revolutionizing Web Interaction with Hand Gestures</title>
      <dc:creator>NAGENDRA DHARMIREDDI</dc:creator>
      <pubDate>Fri, 18 Oct 2024 15:21:18 +0000</pubDate>
      <link>https://dev.to/pvscreations/guide-to-visualgesturesjs-revolutionizing-web-interaction-with-hand-gestures-1o93</link>
      <guid>https://dev.to/pvscreations/guide-to-visualgesturesjs-revolutionizing-web-interaction-with-hand-gestures-1o93</guid>
      <description>&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffvkljp3dmzkgfo0tr2um.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffvkljp3dmzkgfo0tr2um.png" alt="J.A.R.V.I.S (Image from https://www.youtube.com/watch?app=desktop&amp;amp;v=yiSxjChrdMA)" width="800" height="449"&gt;&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Introduction&lt;/strong&gt;&lt;br&gt;
In today’s fast-paced digital landscape, intuitive interaction is the key to enhancing user experiences. VisualGestures.js redefines how we engage with machines, offering a seamless, touchless interface controlled by hand and finger movements in the air. Whether it’s improving productivity or enabling more fluid interaction, our tool brings next-level innovation to any workspace or project. This revolutionary tool is designed to meet the evolving needs of modern users and businesses alike. Imagine controlling your cursor with a simple hand movement — VisualGestures.js makes it possible. Ready to explore how this innovative tool can reshape user experiences and boost productivity? Let’s explore its limitless possibilities!&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Learning Objectives&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;To explore how touchless gesture interfaces can revolutionize user interactions across various industries.&lt;/li&gt;
&lt;li&gt;To understand how to effectively set up, run, and integrate VisualGestures.js in your local environment.&lt;/li&gt;
&lt;li&gt;To dive into real-world applications where gesture control significantly enhances productivity and user experience.&lt;/li&gt;
&lt;li&gt;To utilize advanced debugging tools for optimizing gesture-based interactions in real-time scenarios.&lt;/li&gt;
&lt;li&gt;To grasp the seamless compatibility and scalability of VisualGestures.js across diverse platforms and environments.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Table of contents&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Why VisualGestures.js?&lt;/li&gt;
&lt;li&gt;Getting started&lt;/li&gt;
&lt;li&gt;Running the code locally&lt;/li&gt;
&lt;li&gt;Comprehensive Ecosystem&lt;/li&gt;
&lt;li&gt;Debugging Panel&lt;/li&gt;
&lt;li&gt;Compatibility&lt;/li&gt;
&lt;li&gt;Use-cases across industries&lt;/li&gt;
&lt;li&gt;Conclusion&lt;/li&gt;
&lt;li&gt;Maintainers&lt;/li&gt;
&lt;li&gt;Citation&lt;/li&gt;
&lt;li&gt;Key Takeaways&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Why VisualGestures.js?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fndq3mkku72smkqnh48ra.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fndq3mkku72smkqnh48ra.png" alt="VisualGestures.js" width="800" height="237"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;VisualGestures.js is an open-source TypeScript package that empowers users to effortlessly control the cursor, including actions such as hover, click, drag, and drop, through precise finger movements in the air.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Exceptional User Experience: Seamless, immersive interaction with intuitive gestures&lt;/strong&gt;&lt;br&gt;
Offers a seamless, touch-free interface with intuitive hand gestures, delivering an immersive and engaging experience ideal for gaming, virtual reality, and creative industries.&lt;br&gt;
&lt;strong&gt;2. Novel Algorithm: Redefines gesture control with fluid and natural interactions, setting new standards&lt;/strong&gt;&lt;br&gt;
At its core, the innovative FKR algorithm precisely recognizes subtle hand movements, delivering fluid, accurate gesture control for natural, responsive interactions that elevate digital engagement.&lt;br&gt;
&lt;strong&gt;3. Scalable and extensible: Designed to expand across multiple applications&lt;/strong&gt;&lt;br&gt;
Scalable and adaptable, suitable for various industries — from factory machinery control to automotive displays — offering flexible solutions for public kiosks and high-tech environments, enhancing enterprise interaction models.&lt;br&gt;
&lt;strong&gt;4. Portable and Offline: Developed in TypeScript, works anywhere with full offline functionality&lt;/strong&gt;&lt;br&gt;
Developed in TypeScript, the solution is portable and reliable, offering full offline functionality, making it ideal for remote or restricted environments with consistent performance, regardless of location.&lt;br&gt;
&lt;strong&gt;5. Smart Debugging: Advanced debugging capabilities for real-time insights and optimization.&lt;/strong&gt;&lt;br&gt;
Includes advanced debugging tools that deliver real-time performance insights, enabling quick optimization and efficient troubleshooting for seamless implementation by developers and end-users.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Getting started&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fm32jobx9jjdrje2cgf0a.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fm32jobx9jjdrje2cgf0a.png" alt="Click Event" width="800" height="433"&gt;&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;1. Install our npm package&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;npm install @learn-hunger/visual-gestures
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;2. Integrate into your existing website&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import { VisualGestures } from "@learn-hunger/visual-gestures/dist/";

/**
 *create instance of visual-gestures
 *which accepts optional parameters of container and the landmark to be used as pointer
 *[Default body and landmark 8 is used respectively]
 */
const vg = new VisualGestures();

// get hand landmarks from mediapipe's taskvision
// here video corresponds to 'HTMLVideoElement' with live webcam stream
const landmarks = handDetector.detectForVideo(video, performance.now());
vg.detect(landmarks.landmarks[0], performance.now());
// Virtual cursor can be seen once model loading and detection started successfully
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;For more information about ‘handDetector’, refer to the mediapipe handLandmarker documentation.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Currently offered cursor control events&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flx3xfcbzqdoxav9wom9r.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flx3xfcbzqdoxav9wom9r.png" alt="Currently offered cursor controls" width="800" height="367"&gt;&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;// comprehensive list of all potential event types can be found within the 'EVgMouseEvents'
import { EVgMouseEvents } from "@learn-hunger/visual-gestures/dist/app/utilities/vg-constants";

// currently offered cursor control events
vgPointerMove();  // corresponds to 'onmousemove'
vgPointerEnter(); // corresponds to 'onmouseenter'
vgPointerLeave(); // corresponds to 'onmouseleave'
vgPointerDown(); // corresponds to 'onmousedown'
vgPointerUp(); // corresponds to 'onmouseup'
vgPointerClick(); // corresponds to 'onclick'
vgPointerDrag(); // corresponds to 'onmousedrag' ('onclick'+'onmousemove')
vgPointerDrop(); // corresponds to 'onmousedrop' ('onclick'+'onmousemove'+'onmouseup')
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;For each event, a callback on the ‘vgInstance[3.1]’ or via traditional event listeners [3.2], similar to cursor-based controls,, can be used&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3.1. Instance Based Listening&lt;/strong&gt;&lt;br&gt;
Function corresponds to ‘onmousemove’ event in traditional cursor-based controls.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;vg.mouseEvents.onPointerMove = () =&amp;gt; {
  // console.log("callback pointer moved");
};
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;3.2. Traditional Event Based Listening&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Function corresponds to ‘onmousemove’ event in traditional cursor-based controls.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import { EVgMouseEvents } from "@learn-hunger/visual-gestures/dist/app/utilities/vg-constants";
document.addEventListener(EVgMouseEvents.MOUSE_MOVE, () =&amp;gt; {
  // console.log("callback pointer moved");
});
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Similarly, ‘MOUSE_ENTER’, ‘MOUSE_LEAVE’, ‘MOUSE_DOWN’, ‘MOUSE_UP’, ‘MOUSE_CLICK’, ‘MOUSE_DRAG’, ‘MOUSE_DROP’ events can be listened to via instance based or traditional based listening.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Quick User Guide&lt;/strong&gt;&lt;br&gt;
Refer to the quick guide below for effective gesture usage.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F19ob2gcih8u1mibv6ikv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F19ob2gcih8u1mibv6ikv.png" alt="Quick User Guide" width="800" height="349"&gt;&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Running the Code Locally&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;1. Clone the repository&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git clone https://github.com/learn-hunger/visual-gestures.git
cd visual-gestures
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;2. Install the dependencies of source and examples&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;npm install
cd example2
npm install
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;3. Link the source code to example&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;cd ../
npm run clone
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;4. Run the example&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;cd example2
npm run dev
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;By default, the webpage runs using the hostname &lt;a href="http://localhost:5173/" rel="noopener noreferrer"&gt;http://localhost:5173/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Comprehensive Ecosystem&lt;/strong&gt;&lt;br&gt;
Our custom-built project seamlessly integrates tools like &lt;a href="https://analytics.google.com/analytics/web/#/p458601436/reports/reportinghub?params=_u..nav%3Dmaui" rel="noopener noreferrer"&gt;Central Logger&lt;/a&gt;, &lt;a href="https://github.com/learn-hunger/visual-gestures/releases" rel="noopener noreferrer"&gt;Vercel auto build&lt;/a&gt;, GitHub release management, d&lt;a href="https://visual-gestures.vercel.app/#debug" rel="noopener noreferrer"&gt;ebugging tools&lt;/a&gt;, &lt;a href="https://drive.google.com/file/d/1Yd7y5yqpNi6e2v3zJWHMRDf_dzPzTCIo/view?usp=sharing" rel="noopener noreferrer"&gt;CI/CD pipelines&lt;/a&gt;, and &lt;a href="https://drive.google.com/file/d/1gsiI8DUTc3D_zSQNSCXAayqNUmVfnug7/view?usp=sharing" rel="noopener noreferrer"&gt;automated code reviews&lt;/a&gt;, providing developers with the flexibility and performance needed to innovate and contribute effortlessly.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fiyjjqswttucoev1lmtln.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fiyjjqswttucoev1lmtln.png" alt="Comprehensive Ecosystem" width="800" height="449"&gt;&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;1. Google Analytics:&lt;/strong&gt; Enables tracking and analyzing user behavior on applications, offering insights to improve user engagement and optimize performance.&lt;br&gt;
&lt;strong&gt;2. NPM Package:&lt;/strong&gt; A pre-built library of code that can be easily integrated into projects to extend functionality and simplify development processes.&lt;br&gt;
&lt;strong&gt;3. CI/CD:&lt;/strong&gt; Continuous Integration and Continuous Deployment pipelines automate the testing and deployment of code, ensuring seamless updates and rapid delivery of new features.&lt;br&gt;
&lt;strong&gt;4. GitHub Releases:&lt;/strong&gt; A streamlined way to distribute versions of your software, enabling easy version control and access to key updates or patches.&lt;br&gt;
&lt;strong&gt;5. Auto Code Reviews:&lt;/strong&gt; Automates the code review process to ensure quality, consistency, and adherence to coding standards, reducing manual oversight.&lt;br&gt;
&lt;strong&gt;6. Vercel Application:&lt;/strong&gt; A platform for deploying and hosting web applications with real-time performance optimization and ease of deployment, perfect for scalable projects.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Debugging panel&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fs3fi6mjcwdvks6lwwa92.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fs3fi6mjcwdvks6lwwa92.png" alt="Debugging Panel" width="800" height="376"&gt;&lt;/a&gt;&lt;br&gt;
There are various debugging tools placed under single interface for smooth development, quick troubleshooting, and inference. It includes:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Performance Monitors&lt;/li&gt;
&lt;li&gt;Debug UI&lt;/li&gt;
&lt;li&gt;Graphical Visualization(s)&lt;/li&gt;
&lt;li&gt;Custom landmark plotting (click &lt;a href="https://www.npmjs.com/package/@learn-hunger/visualise-data-kit" rel="noopener noreferrer"&gt;here&lt;/a&gt;)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;You can view in local by adding ‘#debug;’ path to host, i.e., using the URL: &lt;a href="http://localhost:5173/#debug" rel="noopener noreferrer"&gt;http://localhost:5173/#debug&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://drive.google.com/file/d/1MmnZ9IVeZ5S004y1gVhQKTHF6z-mhCuw/view" rel="noopener noreferrer"&gt;Watch our promo&lt;/a&gt; to explore all the innovative features in action.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Compatibility&lt;/strong&gt;&lt;br&gt;
Optimized for seamless compatibility across a wide range of devices and platforms.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fv1vro0fx7z82otgg94aj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fv1vro0fx7z82otgg94aj.png" alt="Desktop Platforms" width="800" height="235"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8k4qxc023zi7wmbicpwi.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8k4qxc023zi7wmbicpwi.png" alt="Mobile Platforms" width="800" height="193"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Use-cases across industries&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnutwed2iu023gjnw2apk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnutwed2iu023gjnw2apk.png" alt="Use-cases across industries" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Classroom Presentation Control:&lt;/strong&gt; Enhances digital learning environments by managing presentations in real-time with precise hand gestures, making instruction more dynamic and interactive.&lt;br&gt;
&lt;strong&gt;Hands-Free Home Entertainment:&lt;/strong&gt; Transforms home entertainment systems by controlling your TV and media devices through gesture-based commands, eliminating the need for a traditional remote.&lt;br&gt;
&lt;strong&gt;Seamless Corporate Presentations:&lt;/strong&gt; Enables professionals to deliver smooth, hands-free presentations in corporate settings, allowing for efficient content navigation during important meetings.&lt;br&gt;
&lt;strong&gt;Touchless Interaction in Healthcare:&lt;/strong&gt; Improves hospital hygiene and efficiency by integrating gesture controls for medical equipment, enabling touchless operations in critical care environments.&lt;br&gt;
&lt;strong&gt;Industrial Automation &amp;amp; Control:&lt;/strong&gt; Streamlines industrial processes by allowing operators to control machinery and interfaces using gesture recognition, enhancing precision and safety on factory floors.&lt;br&gt;
&lt;strong&gt;Social Media Gesture Navigation:&lt;/strong&gt; Offers users a cutting-edge experience by enabling them to browse and interact with social media platforms hands-free, creating a futuristic and engaging user journey.&lt;br&gt;
&lt;strong&gt;Gesture-Controlled Ecommerce Experiences:&lt;/strong&gt; Elevates the online shopping experience by allowing customers to browse, select, and purchase products using intuitive gesture controls, providing a more interactive shopping platform.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Future Scope&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbwz40uhh8c0q6zqyddo2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbwz40uhh8c0q6zqyddo2.png" alt="Future Scope" width="800" height="343"&gt;&lt;/a&gt;&lt;br&gt;
As we continue to refine our system, future improvements will focus on enhancing algorithmic precision for more accurate gesture recognition in diverse environments, including low-light conditions and faster gestures, ensuring a more robust and responsive interaction experience.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;br&gt;
VisualGestures.js is poised to revolutionize the way users interact with digital systems, providing a touchless, intuitive experience that elevates productivity and engagement. Its cutting-edge gesture control technology offers limitless possibilities for businesses and individuals alike. As the demand for innovative and efficient interfaces grows, VisualGestures.js is at the forefront of this transformation, ready to reshape the future of user interaction. Embrace the power of touchless control and unlock new potential today.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Maintainers&lt;/strong&gt;&lt;br&gt;
&lt;a href="https://www.linkedin.com/in/nagendra-dharmireddi-27a4651b1/" rel="noopener noreferrer"&gt;Nagendra Dharmireddi&lt;/a&gt;&amp;amp; &lt;a href="https://www.linkedin.com/in/boddusripavan/" rel="noopener noreferrer"&gt;Boddu Sri Pavan&lt;/a&gt;&lt;br&gt;
Join our &lt;a href="https://discord.gg/czWwQjBW" rel="noopener noreferrer"&gt;Discord community&lt;/a&gt; to engage with us directly, and don’t forget to follow us on LinkedIn and &lt;a href="https://github.com/learn-hunger" rel="noopener noreferrer"&gt;GitHub&lt;/a&gt; to stay updated on our latest projects, collaborations, and innovations!&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Citation&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;@software{
package = {@learn-hunger/visual-gestures},
authors = {Nagendra Dharmireddi&amp;amp; Boddu Sri Pavan},
title = {{visual-gestures}},
year = {2024},
version = {0.0.1},
url = {https://github.com/learn-hunger/visual-gestures},
howpublished = {\url{https://www.npmjs.com/package/@learn-hunger/visual-gestures}}
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Key Takeaways&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;visualGestures.js delivers seamless, touchless control, enhancing user interaction through intuitive hand and finger gestures.&lt;/li&gt;
&lt;li&gt;It is designed for flexibility and scalability, making it adaptable across a wide range of industries and use cases.&lt;/li&gt;
&lt;li&gt;The system offers full offline functionality, ensuring uninterrupted performance in remote or restricted environments.&lt;/li&gt;
&lt;li&gt;Advanced debugging tools provide real-time insights, enabling quick optimization and smoother implementation.&lt;/li&gt;
&lt;li&gt;With easy integration and robust compatibility, VisualGestures.js is ideal for projects aiming to boost productivity and modernize interaction models.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>javascript</category>
      <category>tensorflow</category>
      <category>opensource</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
