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

391 points - last Wednesday at 3:50 PM

Source

Comments

wackget last Thursday at 2:26 AM
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 last Wednesday at 11:15 PM
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.

hju22_-3 last Wednesday at 9:10 PM
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 last Thursday at 12:00 AM
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.
dirkc last Thursday at 10:53 AM
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.
throwaway2046 last Wednesday at 8:39 PM
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

gerdesj last Thursday at 12:11 AM
Not one of these efforts emulate <blink />. I want my money back.
karlshea last Thursday at 3:20 AM
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 last Thursday at 12:05 AM
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 last Wednesday at 3:50 PM
Each one can be copied as inline SVG or CSS using the background-image property with a data URI. Most are under 1KB.
democracy last Thursday at 1:10 AM
it's great work man - been using your backgrounds for long long time now!
ksymph last Thursday at 4:44 AM
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.
Theodores last Wednesday at 11:09 PM
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.

aerhardt last Wednesday at 9:35 PM
This is very cool but hasn’t it been around for like a decade?
shellerik last Thursday at 2:08 PM
FYI - the previews do not work if you have the Dark Reader plugin enabled in your browser.
dormento last Wednesday at 7:24 PM
This rocks. Thank you!
rcarmo last Thursday at 7:59 AM
These are pretty nice, congrats
pseudosavant last Wednesday at 10:12 PM
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 last Wednesday at 10:33 PM
This is top notch, great work!
dylanhouli last Wednesday at 7:38 PM
Great idea man, must be pulling in some good SEO traffic as well.
termwatch last Thursday at 12:38 PM
i did not know that i needed this until now
starkparker last Wednesday at 3:58 PM
What's the license?
shah4as1 last Wednesday at 10:34 PM
this is exactly what i needed
lakpahana last Thursday at 10:43 AM
comments ...
Frannky last Wednesday at 11:11 PM
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 last Thursday at 12:01 PM
[dead]
metacapuche1356 last Thursday at 9:08 PM
[dead]
Samlion last Thursday at 3:14 PM
[dead]
decker502 last Thursday at 12:32 AM
[dead]
3duardol1m455 last Thursday at 5:08 AM
[dead]
realaliarain74 last Thursday at 12:41 AM
[dead]
HalawehMohann49 last Wednesday at 9:25 PM
[flagged]
AbrarTheCrypt34 last Thursday at 1:10 AM
[flagged]