qmetrics.net

Snap.svg

JavaScript library for SVG manipulation and animation

Design & VisualizationNo commits in 18+ monthsDesktop/CLI app

Snap.svg has had no code changes for over 18 months (last commit 4 years ago).

Snap.svg screenshot

Snap.svg wraps SVG DOM operations and animation for browsers, supporting masks, gradients, groups, and loading SVG from strings or design tools.

Overview

Snap.svg is a client-side JavaScript library focused on scalable vector graphics in modern browsers. It provides an API reminiscent of jQuery for selecting, creating, and transforming SVG elements while exposing newer SVG features such as masking, clipping, patterns, and gradients.

You can author SVG programmatically or import artwork from tools like Adobe Illustrator, Inkscape, or Sketch, then query fragments asynchronously to build sprites. An animation library and event helpers are meant to make interactive vector graphics easier to drive from code.

Distribution includes minified and uncompressed builds loaded from a script tag or bundled through webpack with imports-loader configuration. The project ships under an Apache 2 license and is documented at snapsvg.io with getting started guides and API reference material.

Typical uses include data visualization, interfaces that need resolution-independent graphics, and enhancing static SVG assets with scripted behavior in the browser.

Key features

  • SVG DOM manipulation API
  • Masking, clipping, and patterns
  • Animation and event handling
  • Load external SVG strings
  • Sprite extraction from SVG files
  • Script tag or webpack bundling

Use cases

  • Interactive web vector graphics
  • Animating Illustrator or Inkscape SVG
  • Building resolution-independent UI graphics

Tags

Similar software

Excalidraw

Open-source collaborative whiteboard for hand-drawn style diagrams

Excalidraw is a virtual whiteboard for sketching diagrams and wireframes in a hand-drawn style. It offers an infinite canvas, real-time collaboration with end-to-end encryption, and is also published as an npm package for embedding.

★ 136.4k⟳ todayMIT
Open Source Alternative to:Miro

three.js

Cross-browser JavaScript library for 3D graphics

Three.js is a lightweight JavaScript 3D library for browsers. Default builds target WebGL and WebGPU, with optional SVG and CSS3D renderers as add-ons.

★ 119.5k⟳ todayMIT
Design & VisualizationDesktop/CLI app

Archify

Agent skill for interactive HTML diagrams and explainers

Archify is an open-source agent skill that turns descriptions, plans, or repositories into validated, self-contained interactive HTML maps and one-page explainers for Claude Code, Codex, Cursor, OpenCode, and Copilot.

★ 100.9k⟳ 2 days agoApache-2.0

Manim

Programmatic animation engine for explanatory math videos

ManimGL drives precise programmatic animations for explanatory math videos. The 3Blue1Brown variant installs via the manimgl package

★ 97k⟳ 2 months agoMIT
Frameworks & PlatformsDesktop/CLI app

Mermaid

Text-defined diagrams from Markdown-like syntax

Mermaid turns plain-text diagram definitions into flowcharts, sequence charts, Gantt charts, and many other diagram types. It renders in browsers, documentation tools, and GitHub Markdown.

★ 91.3k⟳ 5 days agoMIT

ImGui

Minimal immediate-mode C++ graphical user interface library

Dear ImGui is a portable C++ GUI library that emits draw batches for your renderer. It targets debug tools, editors, and in-engine tooling rather than consumer-facing apps.

★ 77.3k⟳ yesterdayMIT
Frameworks & PlatformsDesktop/CLI app