StackShareStackShare
Follow on
StackShare

Discover and share technology stacks from companies around the world.

Follow on

© 2025 StackShare. All rights reserved.

Product

  • Stacks
  • Tools
  • Feed

Company

  • About
  • Contact

Legal

  • Privacy Policy
  • Terms of Service
  1. Stackups
  2. Application & Data
  3. Frameworks
  4. Javascript Utilities And Libraries
  5. Raphael vs hammer.js

Raphael vs hammer.js

OverviewComparisonAlternatives

Overview

hammer.js
hammer.js
Stacks39
Followers16
Votes0
GitHub Stars24.4K
Forks2.6K
Raphael
Raphael
Stacks350
Followers35
Votes0
GitHub Stars11.3K
Forks1.7K

Raphael vs hammer.js: What are the differences?

  1. Event Handling: Raphael focuses on vector graphics, providing an extensive set of tools for creating and manipulating graphical elements such as shapes and paths, while Hammer.js is a library specifically designed for touch gestures and multi-touch events on both mobile and desktop devices.
  2. Purpose: Raphael is primarily used for creating interactive and animated vector graphics for the web, whereas Hammer.js is focused on providing a smooth and consistent touch interaction experience across different devices.
  3. Features: Raphael offers features for drawing and animating vector graphics, as well as advanced manipulation techniques, while Hammer.js specializes in recognizing touch gestures like tap, swipe, pinch, and rotate, making it ideal for mobile applications.
  4. Integration: Raphael requires writing custom event handlers and logic to handle touch events, whereas Hammer.js simplifies touch interactions by providing pre-built event listeners and recognizers for various touch gestures.
  5. Browser Support: Raphael has broader browser support, including older versions of Internet Explorer, while Hammer.js has better compatibility with modern touch-enabled browsers and mobile devices.
  6. Community and Development: The development of Raphael has slowed in recent years, with the last major release in 2018, while Hammer.js continues to be actively maintained and updated, supported by a thriving community providing regular contributions and bug fixes.

In Summary, the key differences between Raphael and Hammer.js lie in their focus on vector graphics and touch gestures, their intended purposes, features, ease of integration for touch events, browser support, and ongoing development and community support.

Share your Stack

Help developers discover the tools you use. Get visibility for your team's tech choices and contribute to the community's knowledge.

View Docs
CLI (Node.js)
or
Manual

Detailed Comparison

hammer.js
hammer.js
Raphael
Raphael

It is a open-source library that can recognize gestures made by touch, mouse and pointerEvents. It doesn’t have any dependencies.

It is a cross-browser JavaScript library that draws Vector graphics for web sites. It will use SVG for most browsers, but will use VML for older versions of Internet Explorer.

No dependencies;Open Source; Multi-touch gestures
Cross-browser ;Designed specifically for artists and graphic designers;You are given the power of Scalable Vector Graphics (SVG) to be able to use your web browser to created detailed drawings
Statistics
GitHub Stars
24.4K
GitHub Stars
11.3K
GitHub Forks
2.6K
GitHub Forks
1.7K
Stacks
39
Stacks
350
Followers
16
Followers
35
Votes
0
Votes
0
Integrations
Opera Browser
Opera Browser
AngularJS
AngularJS
JavaScript
JavaScript
jQuery
jQuery
Firefox
Firefox
Google Chrome
Google Chrome
HTML5
HTML5
JavaScript
JavaScript
CSS 3
CSS 3

What are some alternatives to hammer.js, Raphael?

Underscore

Underscore

A JavaScript library that provides a whole mess of useful functional programming helpers without extending any built-in objects.

Deno

Deno

It is a secure runtime for JavaScript and TypeScript built with V8, Rust, and Tokio.

Chart.js

Chart.js

Visualize your data in 6 different ways. Each of them animated, with a load of customisation options and interactivity extensions.

Immutable.js

Immutable.js

Immutable provides Persistent Immutable List, Stack, Map, OrderedMap, Set, OrderedSet and Record. They are highly efficient on modern JavaScript VMs by using structural sharing via hash maps tries and vector tries as popularized by Clojure and Scala, minimizing the need to copy or cache data.

Lodash

Lodash

A JavaScript utility library delivering consistency, modularity, performance, & extras. It provides utility functions for common programming tasks using the functional programming paradigm.

Ramda

Ramda

It emphasizes a purer functional style. Immutability and side-effect free functions are at the heart of its design philosophy. This can help you get the job done with simple, elegant code.

Vue CLI

Vue CLI

Vue CLI aims to be the standard tooling baseline for the Vue ecosystem. It ensures the various build tools work smoothly together with sensible defaults so you can focus on writing your app instead of spending days wrangling with config.

Luxon

Luxon

It is a library that makes it easier to work with dates and times in Javascript. If you want, add and subtract them, format and parse them, ask them hard questions, and so on, it provides a much easier and comprehensive interface than the native types it wraps.

Prepack

Prepack

Prepack is a partial evaluator for JavaScript. Prepack rewrites a JavaScript bundle, resulting in JavaScript code that executes more efficiently. For initialization-heavy code, Prepack works best in an environment where JavaScript parsing is effectively cached.

Blockly

Blockly

It is a client-side library for the programming language JavaScript for creating block-based visual programming languages and editors. It is a project of Google and is free and open-source software.

Related Comparisons

Bootstrap
Materialize

Bootstrap vs Materialize

Laravel
Django

Django vs Laravel vs Node.js

Bootstrap
Foundation

Bootstrap vs Foundation vs Material UI

Node.js
Spring Boot

Node.js vs Spring-Boot

Liquibase
Flyway

Flyway vs Liquibase