Not

Hacker News!

Beta
Home
Jobs
Q&A
Startups
Trends
Users
Live
AI companion for Hacker News

Not

Hacker News!

Beta
Home
Jobs
Q&A
Startups
Trends
Users
Live
AI companion for Hacker News
  1. Home
  2. /Story
  3. /SVG.js v3.2
  1. Home
  2. /Story
  3. /SVG.js v3.2
Nov 23, 2025 at 12:38 PM EST

SVG.js v3.2

eustoria
34 points
2 comments

Mood

informative

Sentiment

positive

Category

tech_discussion

Key topics

Svg

Javascript

Library

Graphics

Animation

Discussion Activity

Light discussion

First comment

1h

Peak period

4

Hour 3

Avg / period

3

Comment distribution12 data points
Loading chart...

Based on 12 loaded comments

Key moments

  1. 01Story posted

    Nov 23, 2025 at 12:38 PM EST

    14h ago

    Step 01
  2. 02First comment

    Nov 23, 2025 at 1:43 PM EST

    1h after posting

    Step 02
  3. 03Peak activity

    4 comments in Hour 3

    Hottest window of the conversation

    Step 03
  4. 04Latest activity

    Nov 23, 2025 at 4:47 PM EST

    10h ago

    Step 04

Generating AI Summary...

Analyzing up to 500 comments to identify key contributors and discussion patterns

Discussion (2 comments)
Showing 12 comments
emil-lp
13h ago
2 replies
Anyone know a Python library for manipulating SVG images?
WillAdams
13h ago
1 reply
I've been meaning to look into:

https://coderivers.org/blog/python-svg/

monkmartinez
11h ago
You mean svgwrite (https://github.com/mozman/svgwrite) which looks like it is no longer maintained?

I know of svg.py (https://github.com/orsinium-labs/svg.py) and drawsvg (https://github.com/cduck/drawsvg)... I have played with both a bit, no idea how they compare to others.

beagle3
10h ago
Not what you asked for, but something you might find useful: https://github.com/andy31lewis/brySVG

A great SVG kit for Brython (browser Python)

pyrolistical
11h ago
1 reply
It’s 10x slower than vanilla which makes this an ideal use case for transpilation.
maxloh
11h ago
3 replies
What is the use case of this library given that vanilla JS is 10x faster?
elygre
11h ago
1 reply
Maybe it's ease of development, and resulting readability?

I did enjoy the example code, compared to the native javascript (both shown in the article):

  var draw = SVG().addTo('#drawing')
    , rect = draw.rect(100, 100).fill('#f06')
bryanrasmussen
10h ago
why would the native JavaScript not be something like (probably errors here, so like, not necessarily this precisely)

const div = document.getElementById('drawing');

div.innerHTML = `<svg width="100%" height="100%"><rect width="100" height="100" fill="#f06"/></svg>`;

obviously if the what is going in can have user input in some way then open to attack using innerHTML but otherwise it seems like the structure of the example native JavaScript is made in such a way as to make the SVG.js version seem super cool in comparison.

jasonjmcghee
10h ago
1 reply
> Obviously not as fast as vanilla js

I had a similar question- why is it obviously not as fast as vanilla js?

cal85
10h ago
Because it’s written in vanilla JS.
aabhay
11h ago
Perhaps non-browser usage?
dagss
10h ago
I typically use d3 for any generated SVGs.
View full discussion on Hacker News
ID: 46025477Type: storyLast synced: 11/23/2025, 7:22:57 PM

Want the full context?

Jump to the original sources

Read the primary article or dive into the live Hacker News thread when you're ready.

Read ArticleView on HN

Not

Hacker News!

AI-observed conversations & context

Daily AI-observed summaries, trends, and audience signals pulled from Hacker News so you can see the conversation before it hits your feed.

LiveBeta

Explore

  • Home
  • Jobs radar
  • Tech pulse
  • Startups
  • Trends

Resources

  • Visit Hacker News
  • HN API
  • Modal cronjobs
  • Meta Llama

Briefings

Inbox recaps on the loudest debates & under-the-radar launches.

Connect

© 2025 Not Hacker News! — independent Hacker News companion.

Not affiliated with Hacker News or Y Combinator. We simply enrich the public API with analytics.