Processingã®ãµã³ãã«ã³ã¼ãRGB Cube㨠Openni-simpleã®ãµã³ãã«Processingã³ã¼ãHands.pdeãçµã¿åãã㦠ãµã³ãã«ãä½ã£ã¦ã¿ã¾ããã ãããªç°¡åã«åãã®ãã¨ããå°è±¡ã ãã£ããã¨ã¯ãHands.pdeã®drawã®ä¸ãcontext.update()ãæ®ã㦠ãã¨ã¯å ¨é¨åé¤ãRGB Cubeã®drawããã£ãã追å ã PVectorã®posã[x,y,z]ã£ã½ãé åãè¿ãã¦ããã®ã§pos[0]ã¨ãã§å¤ã¸ã® ã¢ã¯ã»ã¹ã試ã¿ãããé åã§ã¯ãªãã¨ã®ã¨ã©ã¼ãåºãã ï¼ã¡ãªã¿ã«drawã¡ã½ããå ã§ã¯posã¸ã®ã¢ã¯ã»ã¹ãã§ããªããã®ããªï¼ ãªããæè¦ããªãã¨æãã¤ã¤åã§pos.xã¨ã¢ã¯ã»ã¹ããã¨ãã¾ãåããã ã¡ãªã¿ã«pos.xã¯floatã§è¿ã£ã¦ãã¾ãã ãã¨ã¯ã°ãã¼ãã«å¤æ°ã« float xmag, ymag = 0; float newXmag, ne
{{#tags}}- {{label}}
{{/tags}}