Overview

SnapEngine is an interactivity engine for the web. It provides useful utilities for building interactive UI elements, like input handling, camera coordination, collision detection, batched DOM reads and writes, animation helpers, and debugging overlays.

The core package is intentionally framework-agnostic. Asset packages such as SnapSort build on top of it, and framework wrappers provide Svelte or React-facing components where useful.

Using these docs

Use the project dropdown at the top of the sidebar to switch between SnapEngine and asset documentation such as SnapSort.

If you are new to SnapEngine, we recommend starting from The Engine section to start learning the key concepts first.