This repository is a web component library focused on accessibility, providing custom HTML elements for building inclusive web applications. It implements alternative input methods including standard mouse/keyboard/touch and pose/body tracking using TensorFlow's PoseNet model. The architecture follows web component principles using LitElement and Polymer, with a clear hierarchy of base classes (AbstractInputElement, AbstractUIElement) and specialized components for various UI patterns. The library emphasizes accessibility features like ARIA support, keyboard navigation, and screen reader compatibility. The codebase demonstrates strong craftsmanship in its utility implementations, particularly in coordinate transformation handling (mouse-position.ts), vector mathematics (vec2.ts), and general-purpose helper functions (utils.ts). The webcam integration (webcam.ts) shows proper resource management and lifecycle handling. However, the library suffers from significant technical drift due to outdated dependencies (lit-element 0.5.2, tfjs 0.13.0, typescript 3.1.6), which would require substantial updates for modern use. While the core architectural patterns are sound, the dependency versions limit practical reusability without migration work.
This repository is a collection of standalone web application demos from Intel showcasing the W3C Generic Sensor API (Accelerometer, Gyroscope, Magnetometer, AmbientLightSensor, OrientationSensor). The demos are built with Polymer 2/3, LitElement, Three.js, and A-Frame, and include a sensor polyfill, a sensor tester with automated test cases, a punch speed meter, a VR button using magnetometer, 360-degree panorama and video viewers, and an ambient light map. The code is functional but outdated, relying on deprecated Polymer patterns and old library versions. The primary value lies in the sensor polyfill implementation and the walking detection algorithm, which are self-contained and demonstrate non-obvious engineering skill. The repo was migrated to the W3C organization and is no longer actively maintained.