bolha.us is one of the many independent Mastodon servers you can use to participate in the fediverse.
We're a Brazilian IT Community. We love IT/DevOps/Cloud, but we also love to talk about life, the universe, and more. | Nós somos uma comunidade de TI Brasileira, gostamos de Dev/DevOps/Cloud e mais!

Server stats:

252
active users

#svg

23 posts14 participants11 posts today
Continued thread

This effectively pushes all pixels except for those with alphas originally in the [.4, .6] interval (which now stretch across the [0, 1] interval) to either 0 or 1, whichever is closer.

Now you may be wondering why not do this from the start instead of those first two primitives.

Well, because without knowing the blur radius in px (something that's not really possible without JS if we set it in container query or viewport units), we can't know what interval to map to.🤷‍♀️

#SVG#CSS#filter
Continued thread

To fix this, we give the assembly a tiny blur.

We don't want blurry edges👇 either, so we push some of the semitransparent edge pixels to either 0 or 1, whichever is closer. To do so, we use another `feComponentTransfer` and map the [0, 1] alpha interval to [-2, 3]. Basically we're stretching the alpha interval to be 5 times bigger, keeping same midpoint (.5), then it's clamped to [0, 1].

#SVG#filter#CSS
Continued thread

Enter the #SVG #filter!

`feComponentTransfer` allows us to manipulate individual RGBA channels. In this case just the alpha (via `feFuncA`) by making all assembly pixels whose alpha is below `.5` fully transparent (alpha = 0). And all other pixels fully opaque (alpha = 1).

This makes edges jagged. 💀

Maybe not so noticeable in some cases, but it often won't cut it.

The first Apple Watch was introduced 1995.
It's #contemporary #design is standing out after 30 years, still. While it was deeply integrated into #MacOS System 7.5, it's not one of their digital #gadgets. This #anniversary seems to be perfect to revisit and redraw some shacky lines and seconds in corporate #history of #AppleComputers.
https://youtu.be/AR5DUrI994Q

#Apple lost me as #proUser when they rejected my third warranty case in a row.
To rebuild the #AppleWatch from scratch in #vectorgraphics I prefer #Inkscape #SVG #copyleft on #Linux #FOSS over #Adobe #Illustrator #Ai #IP #copyright #software.

Go get the best #vector #designer #app
https://inkscape.org
and you can draw freely #retrocomputer #illustrations like we do.
Continued thread

Rough minutes from the #SVG session, if you were interested but couldn't call in:

w3.org/2025/03/26-svg-neglect-

There will also be a video of Eric's opening presentation.

We didn't come up with any grand solutions in 2 hours, but I think there was a loose consensus on the following priorities:

- Getting a published SVG standard that is consistent with browser SVG implementations.
- Creating a comprehensive test suite to identify interop issues.
- Using smaller feature module specs in future.

www.w3.orgVectors of Neglect – 26 March 2025