norden.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
Moin! Dies ist die Mastodon-Instanz für Nordlichter, Schnacker und alles dazwischen. Folge dem Leuchtturm.

Administered by:

Server stats:

3.5K
active users

#svg

18 posts17 participants3 posts today

While I'm not a huge fan of the verbosity of the syntax* here, this is very cool, and the basic demo is surprisingly impressive: webkit.org/blog/16794/the-css-

* Though to be fair: a) I don't remember all of #SVG's commands, and b) this does feel rather expressive and #CSS-y (looking at you, `radial-gradient(circle at center in hsl longer hue, red, blue)`!)

WebKit · The CSS shape() functionShapes are an important aspect of graphic design.
Even when development started in the 70s, it took #Apple #computers twice as long as expected not only because they had to get rid of #Jobs first. Still ahead of it's time #LISA was launched 1983 with 1Mb RAM for almost U$D 10K. The most interesting documentary about #IT you'll find here...
https://youtu.be/psAeTDYezdo

Instead of #Adobe #Illustrator #Ai and #PostScript #PS, our highly detailed #vector #illustration of #AppleLisa #GUI #OS #retrocomputer was created in #svg #vectorgraphics #technology with #Inkscape. #Download & #donate here...
https://inkscape.org/support-us/donate/

Prismic.io has published a collection of lists for many types of css/javascript/svg driven animations to enhance your web apps' user experience. Each example includes real-world use cases and clear code examples in the appropriate languages.

The collection includes:

1. Text Animations
2. Hover Effects
3. Button Animations
4. Background Effects, and
5. Image Effects

"CSS Animation Collection: 150+ Examples & Code"

prismic.io/guides/css-animatio

Massive Surge in SVG Based Phishing

A new breed of phishing attacks is targeting web users using image files as delivery vehicles, according to a new report from Trustwave SpiderLabs and the firm that co-founded the security firm.

Pulse ID: 67fbb96ccb2b2cd5801ad78b
Pulse Link: otx.alienvault.com/pulse/67fbb
Pulse Author: cryptocti
Created: 2025-04-13 13:17:32

Be advised, this data is unverified and should be considered preliminary. Always do further verification.

LevelBlue Open Threat ExchangeLevelBlue - Open Threat ExchangeLearn about the latest cyber threats. Research, collaborate, and share threat intelligence in real time. Protect yourself and the community against today's emerging threats.

Okay, so apparently #drawIO does not export #SVG as proper SVG..... the texts are embedded in some HTML elements...
Firefox can render it perfectly, but when using some tool like #Inkscape , the text is a raster graphic.
When turning off font embedding and XML inclusion of the diagram within the SVG file, when exporting from drawIO, Inkscape can at least load the text as text, but it is weirdly truncated and does not stay within its bounds.

What the hell is this?

Edit: Pinging @drawio - perhaps you guys have an idea? :D

So something in my build setup is _very_ clever and knows that the default value for the preserveAspectRatio #SVG attribute is "xMidYMid meet". And therefore removes the attribute for production builds because of "performance" (as if this would make ANY difference). Problem is, there is a rather important CSS rule somewhere in the projects that selects for svg[preserveAspectRatio] and now everything's boken 🤪

New Kitten feature: Icons!

You can now make use of a subset of the icons in the Phosphor icons set by @minoraxis and @rektdeckard.

kitten.small-web.org/reference

Search through them in your editor by referencing `kitten.icons.categories` and `kitten.icons.tags`.

Add this to a file called index.page.js and run `kitten` to see a large duotone pink cat (because why not?):

export default function () {
return kitten.html`
<${kitten.icons.c.Cat}
size=40%
weight=duotone
colour=deeppink
/>
`
}

(And yes, the set includes icons for the fediverse. This one of the reasons I chose it.) ;)

Enjoy!

:kitten:💕

1982 Commodore introduced the computer for the masses not the classes...
“It writes, rates, creates, even telecommunicates. Costs less does more — the #Commodore64

This outstanding #homecomputer came with #8bit #MOS6510 #CPU, 64KB RAM and #BASIC. Initially the #C64 was sold for a little under 600 bucks, but competition was brutal in the #8bit-war. https://youtu.be/E9nDsIvUto4

With prices dropping #Commodore sold two million units annually and had a market share up to 40% in the US until 1986.
At one point, the company was selling as many C64s as the rest of the industry combined.

Even when #IBM #PC 5150 compatible #16bit systems changed that in 1988, the #C=64 became highest-selling computer model of all time.

Our #vector #graphic #retrocomputer #art wasn't realized in old #Adobe #PostScript #vectorgraphics #tech with #Ai #Illustrator, but in #svg #technology with #FreeSoftware #Inkscape

#GenerativeArt interlude

More fun with OEIS integer sequences.

Today we'll make some pseudospirals: a sequence of arcs with 90 degree turns in between, where the radii are driven off a sequence. Arcs may have a gain function applied. Negative radii flip direction.

A200437: Number of -n..n arrays x(0..9) of 10 elements with zero sum and no two or three adjacent elements summing to zero
Sequence negation (every 17th), no gain