logoalt Hacker News

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

290 pointsby visiwigyesterday at 3:50 PM58 commentsview on HN

Comments

Frannkyyesterday 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

show 3 replies
wackgettoday 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.

show 1 reply
dirkctoday 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.

BoppreHyesterday 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.

show 1 reply
hju22_-3yesterday 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?

show 1 reply
jjwisemantoday 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.

gerdesjtoday at 12:11 AM

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

karlsheatoday 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.

show 1 reply
yesthisiswestoday 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?

throwaway2046yesterday 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

visiwigyesterday 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.

rcarmotoday at 7:59 AM

These are pretty nice, congrats

ksymphtoday 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.

show 1 reply
democracytoday at 1:10 AM

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

show 1 reply
aerhardtyesterday at 9:35 PM

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

lakpahanatoday at 10:43 AM

comments ...

dormentoyesterday at 7:24 PM

This rocks. Thank you!

show 1 reply
pseudosavantyesterday 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!

thekevanyesterday at 10:33 PM

This is top notch, great work!

dylanhouliyesterday at 7:38 PM

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

show 2 replies
3duardol1m455today at 5:08 AM

this matches my experience exactly

starkparkeryesterday at 3:58 PM

What's the license?

show 1 reply
shah4as1yesterday at 10:34 PM

this is exactly what i needed

martinvalchevtoday at 12:01 PM

[dead]

Theodoresyesterday 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.

decker502today at 12:32 AM

[dead]

realaliarain74today at 12:41 AM

[dead]

HalawehMohann49yesterday at 9:25 PM

[flagged]

AbrarTheCrypt34today at 1:10 AM

[flagged]

show 1 reply