Navigation

    Fuze Arena Logo
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Help
    • Discord

    Demo: using moving average and motion controls

    Creation share codes
    1
    1
    153
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • vinicity
      vinicity F last edited by

      Hi,

      I while back I did some experimenting using a moving average to smooth out the jitter you get when using motion controls. I meant to share it, but sort of forgot. Moving average means continously taking the reading of the last few (50 in this case) samples and calculating an average for them...

      So, in this demo you can control the hand pointer using the right joy-con. To calibrate it, hold down X, point it to the screen, and then release X again.

      ID: NX2F5EMD5C

      Feel free to use this in any of your own projects.

      1 Reply Last reply Reply Quote 7
      • First post
        Last post