3 个仓库
Calculations used to determine an element's displacement based on the delta between initial and current pointer positions.
Distinct from Coordinate-Based Position Calculators: The candidates cover game engine precision, text normalization, or binary addressing, not UI pointer displacement.
Explore 3 awesome GitHub repositories matching user interface & experience · Pointer Offset Tracking. Refine with filters or upvote what's useful.
react-draggable is a drag and drop library and coordinate-based position manager for React. It functions as a component wrapper that adds draggable behavior to user interface elements, enabling them to be moved via mouse or touch interactions. The library provides touch-enabled interaction tools that unify pointer events across desktop browsers and touch screen devices. It utilizes CSS transforms to handle element movement and coordinate tracking. The system covers movement constraints such as axis restriction and boundary clamping to confine elements within specific areas. It includes posit
Implements the core coordinate tracking logic needed to translate mouse or touch movement into element displacement.
React Native Gesture Handler is a declarative library that exposes the platform's native touch and gesture system to React Native, enabling smooth, deterministic gesture handling on the UI thread. It manages gesture recognition through a native state machine with defined transitions between states like BEGAN, ACTIVE, END, and CANCELLED, routing touch events through platform-native gesture recognizers on both iOS and Android. The library provides a comprehensive gesture composition framework that allows developers to combine multiple gestures into race, simultaneous, or exclusive sequences, co
Tracks all active touch points on screen with real-time position and visibility state updates.
cursor-effects 是一个 JavaScript 库和特效引擎,旨在在 Web 浏览器中实现基于物理的鼠标轨迹和浮动视觉效果。它提供了一个框架,用于添加跟随用户指针的交互式图形覆盖层。 该系统专门用于生成粒子轨迹、基于物理的浮动表情符号以及指针追踪文本字符串。这些动画利用基于弹簧的物理模拟,在光标移动时产生有机的反应和分散模式。 该库管理视觉元素的整个生命周期,从基于坐标的指针追踪和 DOM 注入到粒子的自动移除。动画帧通过 requestAnimationFrame 循环更新,以确保运动与浏览器的原生刷新率保持一致。
Provides custom colored text strings that dynamically track and render at the position of the user pointer.