mamot.fr is one of the many independent Mastodon servers you can use to participate in the fediverse.
Mamot.fr est un serveur Mastodon francophone, géré par La Quadrature du Net.

Server stats:

3.5K
active users

#svg

42 posts28 participants2 posts today

#Inkscape って #SVG をゴニョゴニョするにはすごく良くて(SVG のフィルター効果とかも GUI で操作できるし)デザインツールとしてめっちゃいいじゃん!と思って一瞬 #Linux デスクトップ環境(というかラップトップ)とか思ったけど、いろいろ調べると安定したパフォーマンスの環境構築には結構難儀しそうな印象ではなんか #Mac 買えばいいか…、という気持ちになった

Okay, i was annoyed again, so I did a thing:
Windows doesn't previews .svg files by default in the windows explorer.
I needed some svg files for the AutoSizeText project github.com/SpielmannSpiel/Auto to create a new icon for it.

So I made an image viewer in @godotengine ^^"
Is anyone interested in such a thing? maybe even as a tool in #PEBI?
I think open sourcing this might also be a good idea.

Jebus.. #Python and all it's batteries. So #Matplotlib knows how to talk #SVG already. I just started to speculate on how hard that would be to implement and.. it's already there built into Matplotlib.

Well. That worked out rather nicely then.

Being back working in Python feels way too magical at times.

Turns out the mechanisms I'd already put in can do graphs and plots already with clean readable markdown - no new plumbing needed.

I'd have thought that a far-fetched goal moments ago.

🌘 Svggles:使用 SVG 打造互動插圖
➤ 簡化 SVG 互動插圖開發流程
svggles.vercel.app/
Svggles 是一個 React 工具包,專門用來使用 SVG 創建互動式插圖。它提供了一系列功能,例如動畫效果(發光、旋轉、形變)和互動行為(滑鼠追蹤、滾動觸發),方便開發者快速製作引人注目的視覺效果。Svggles 已經發布為 npm 上的 `interactive-illustrations` 套件,方便安裝和使用。
+ 哇,這個套件看起來很棒!對想用 SVG 做出一些特別效果的開發者來說,簡直是救星。
+ 之前用 SVG 實現互動效果一直很麻煩,有了 Svggles 應該能大大提高效率。
#JavaScript #React #SVG #開發工具

svggles.vercel.appVite + React + TS
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