←back to thread

Nice things with SVG

(fuma-nama.vercel.app)
575 points fmerian | 9 comments | | HN request time: 0.817s | source | bottom
1. chentastic ◴[] No.43666632[source]
Was always fascinated by SVG art. How good are LLMs in generating SVGs?
replies(6): >>43666693 #>>43666702 #>>43667111 #>>43667201 #>>43667216 #>>43668942 #
2. krebby ◴[] No.43666693[source]
Getting better!

https://simonwillison.net/2024/Oct/25/pelicans-on-a-bicycle/

replies(1): >>43666881 #
3. jbreckmckye ◴[] No.43666702[source]
In at least my limited experience, they're kind of bad. They can retrieve shapes that already exist, sometimes inaccurately, but they are less reliable at creating novel ones
4. jamesgpearce ◴[] No.43666881[source]
Perhaps a generous definition of "better"... but some of those genuinely made me laugh!
5. simpaticoder ◴[] No.43667111[source]
Regular LLMs are quite bad at it (see simonwillison's blog post). However this paper [0] describes an apparently sound approach using Neural Radiance Fields (NeRFs), however their github repo [1] has been "code coming soon!" for months now, so you can't really use it.

0 - https://arxiv.org/pdf/2501.03992

1 - https://github.com/SagiPolaczek/NeuralSVG

replies(1): >>43718332 #
6. pizza ◴[] No.43667201[source]
I've gotten decent outputs with Claude with iteration (sending both text feedback and screenshot for context) and then tweaked the output in Inkscape.
7. plumeria ◴[] No.43667216[source]
Checkout StarVector: https://github.com/joanrod/star-vector/
8. qingcharles ◴[] No.43668942[source]
https://github.com/simonw/pelican-bicycle/blob/main/README.m...
9. flaviuspopan ◴[] No.43718332[source]
It's been released as of an hour ago!!! https://github.com/SagiPolaczek/NeuralSVG/pull/6

Oh boy oh boy oh boy