Show HN: I built 48 lightweight SVG backgrounds you can copy/paste

svgbackgrounds.com

365 points by visiwig a day ago


wackget - 18 hours ago

These are great. Please consider adding a visible <textarea> with the CSS instead of relying on "click to copy" buttons. For security reasons, some users/browsers disable access to the clipboard which means there's no fallback way to copy the CSS.

BoppreH - 21 hours ago

Those are excellent! The orange shingles are my favorite. Though I think some of them are not working on Firefox; the blue and green vortices are rendered as a single blue rectangle and a single green hexagon.

I wonder how people are using them in a way that is not distracting to the main content. I've found that high-frequency patterns (small details with sharp transitions) can be a bit distracting, but I haven't found a good solution that doesn't compromise the beauty of the backgrounds.

dirkc - 9 hours ago

I like your interface for switching between the backgrounds and having a small panel to tweak the parameters. I played around with procedural patterns using SVG/canvas/webgl a while back and this makes me feel like re-packaging the way it's represented.

hju22_-3 - a day ago

The notice about having "access" to the backgrounds is sticky, and takes up one third of the screen on mobile with no way to remove it . . . Why?

jjwiseman - 20 hours ago

I find it odd that there's a custom of blurring or obscuring exactly the thing I'm interested in when I show interest in it by mousing over it.

gerdesj - 20 hours ago

Not one of these efforts emulate <blink />. I want my money back.

throwaway2046 - a day ago

These are beautiful, thank you for sharing. I really like the one with the triangles, was it inspired by Rule 30?

https://en.wikipedia.org/wiki/Rule_30

karlshea - 17 hours ago

Hey thanks so much! I actually found your site a bit over a year ago while I was redoing my portfolio and used one for my header.

yesthisiswes - 20 hours ago

These are awesome! I’d love to use some of these for my solitaire game.

Weird thing when I preview one of the backgrounds then scroll down the page on mobile the images disappear. I have to refresh the page to view all the backgrounds again after selecting one.

I wonder if you should add names for the patterns so we can pick favorites?

visiwig - a day ago

Each one can be copied as inline SVG or CSS using the background-image property with a data URI. Most are under 1KB.

shellerik - 6 hours ago

FYI - the previews do not work if you have the Dark Reader plugin enabled in your browser.

democracy - 19 hours ago

it's great work man - been using your backgrounds for long long time now!

ksymph - 16 hours ago

Hmm, the parabolic ones seem to be broken? Both on FF and Chromium, they just display as an outline of a single shape on a black background.

rcarmo - 12 hours ago

These are pretty nice, congrats

aerhardt - a day ago

This is very cool but hasn’t it been around for like a decade?

dormento - a day ago

This rocks. Thank you!

pseudosavant - a day ago

I'm a sucker for this kind of stuff, but I'm usually disappointed after clicking the link. These on the other hand are excellent, and that they have configurable options like stroke, color, etc is gravy on the top. Thanks for sharing!

thekevan - a day ago

This is top notch, great work!

termwatch - 8 hours ago

i did not know that i needed this until now

dylanhouli - a day ago

Great idea man, must be pulling in some good SEO traffic as well.

3duardol1m455 - 15 hours ago

this matches my experience exactly

starkparker - a day ago

What's the license?

lakpahana - 10 hours ago

comments ...

shah4as1 - a day ago

this is exactly what i needed

Theodores - 21 hours ago

What is your authoring tool for SVG?

The SVG code is well written. It is neither Adobe bloat-spam-slop and neither is it overly SVGOMG'd.

For picky SVG people you could have some easy way to present the code. Only a minority value quality SVG, artworkers do not look at SVG code and coders just see SVG as 'assets' from the artworker. SVG therefore has not evolved to a full art form.

Frannky - 21 hours ago

I am very confused by the comments, they seem too excited for this... Are they real or paid bots? If they are real, kudos to OP

martinvalchev - 8 hours ago

[dead]

Samlion - 5 hours ago

[dead]

decker502 - 20 hours ago

[dead]

realaliarain74 - 20 hours ago

[dead]

HalawehMohann49 - a day ago

[flagged]

AbrarTheCrypt34 - 19 hours ago

[flagged]