home.social

#grainy — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #grainy, aggregated by home.social.

  1. 1️⃣1️⃣ 501 ❤️ Slice! codepen.io/thebabydino/pen/GRa

    Definitely one of my faves I've made on @codepen in 2024.

    No JS, no text duplication whatsoever, no images save for #CSS gradients. #SVG filters take care of both the texture and the slice + offset effect.🪄

    Also contenteditable. 😼

    Oh, and the code is heavily commented.

    #cssGradient #svgFilter #filter #code #web #dev #webDev #webDevelopment #frontend #coding #textEffect #noise #grainy

  2. Made a gallery of such #SVG gradient + #filter effects blobs on @codepen
    codepen.io/thebabydino/full/YP

    Also includes an explanation of the how behind and interaction: the focal point of the `radialGradient` the blobs start from follows the cursor on hover.

    Different blobs for light/ dark mode. 😼

    #svgGradient #cssGradient #blob #grainy #radialGradient #svgFilter #grain #code #coding #frontend #distortion #web #dev #webDev #webDevelopment #filterEffect

  3. Grainy distorted gradient blob: 1 #SVG `radialGradient` (setting a focal point `fx,fy`) vs. multiple #CSS `radial-gradient()` layers (no option to control focal point).

    Using filters for distortion & grain effect.

    A bit more detail on this reddit.com/r/css/comments/1j03

    #svgGradient #cssGradient #blob #grainy #radialGradient #svgFilter #filter #grain #code #coding #frontend #distortion #web #dev #webDev #webDevelopment

  4. #tinyCSStip Know when you set a background gradient or a gradient mask and you get an ugly banding effect?

    Tons of questions asked about this - the advice always is noise/ grain/ dither.

    graphicdesign.stackexchange.co

    That's a simple #SVG filter, but did you know you should be able to apply it to a #CSS gradient?

    #cssGradient #cssMask #mask #gradient #borderImage #filter #svgFilter #grain #grainy #noise #dither #code #coding #web #dev #webDev #webDevelopment #frontend

  5. I really meant to write "hello world" there, but "hell" isn't wrong, so I left it like that.

    Anyway, you can find the bug links & all in the Pen description.

    #SVG #svgFilter #filter #svgBug #bug #FirefoxBug #SafariBug #code #coding #textEffect #noise #grainy #frontend #web #webDev #dev #webDevelopment