mathstodon.xyz is one of the many independent Mastodon servers you can use to participate in the fediverse.
A Mastodon instance for maths people. We have LaTeX rendering in the web interface!

Server stats:

2.9K
active users

#svg

20 posts17 participants2 posts today

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:💕

#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

Continued thread

Same visual result in both cases, it's just that the #CSS version specifies the entire RGBA value + (equidistant) stop positions for each stop, while the #SVG #filter one only specifies the alpha values for each stop. Given those are equidistant too, a `steps()` way of setting them would make sense.

More stepped gradient examples on @codepen
codepen.io/thebabydino/pen/jOo

These all use the same SVG filter.

Mastodon 🦣 - can you help me out?

If you can test on actual Safari (not another browser), does codepen.io/thebabydino/pen/Eax look the same for you as it does in my Epiphany screen? Or does the `conic-gradient()` cover the entire area?

Retoots appreciated if you cannot test. Thanks!

PS: Yes, I know it does NOT work in Firefox or Chromium browsers github.com/web-platform-tests/

#CSS#SVG#filter
The #Atari 1200XL was a 8bit #homecomputer running a #MOS 6502 #CPU at 1.79 MHz. When this beautiful machine was launched in 1983 with 64Kb RAM the price was under thousand dollars, but... https://youtu.be/JyA5tA5mmYY

$omehow, in the #8bitwar the #C64 was much more popular even when specs been almost the same. The difference in #BASIC language was less significant for the success. Most likely that competition was won by #Commodore because Jack Tramiel took the advice of his grandfather so serious.
https://www.computinghistory.org.uk/det/22449/Atari-1200XL/

#retrocomputer #vector #graphics #vintage #Atari1200XL #8bit #computer #vectorgraphics #svgART #svg #cgi #art #illustration made by #gfkDSGN with #GPL #Inkscape and #FreeSoftware instead of #Adobe #Illustrator #Ai #SaaS #BS