Skip to content

Cereb

High-performance gesture recognition library for the web

Features

Observable-based

Built on a lightweight reactive stream library with RxJS-like pipe operators

Zero GC Jank

Object pooling prevents garbage collection stutters during gestures

Extensible

Compose gesture behaviors with operators and extensions

Tree-shakeable

Import only what you need for minimal bundle size

Packages

@cereb/single-pointer

Unified pointer/touch/mouse input handling

@cereb/pan

Pan gesture recognition with momentum and constraints