leaverou, to random
@leaverou@front-end.social avatar

We’ve always told devs that browsers prioritize what to implement based on dev demand.

There is one exception: .

SVG is used on >65% of websites. Yet, browsers have been refusing to work on SVG, ignoring pressure and pain points from web devs.

showed SVG as the top content pain point: https://2023.stateofhtml.com/en-US/features/content/#content_pain_points

Tons of work (SVG 2, fill & stroke, and more) has sat unimplemented for years. At this point, in standards circles, we know not to touch SVG with a barge pole.

[1/2]

albertcardona, (edited ) to science
@albertcardona@mathstodon.xyz avatar

If you are drafting figures for a scientific paper or presentation, remember that https://scidraw.io/ exists: a repository of free SVG cartoons for science.

is supported by the Sainsbury Wellcome Centre – @SWC_Neuro

All content on SciDraw is shared under creative commons license (CC-BY) unless stated otherwise.

nhoizey, to node French
@nhoizey@mamot.fr avatar

Let's say I have a folder full of SVG files, and I want to change some attributes values in those files.

Do you know any Node package that could help?

Meyerweb, (edited ) to random
@Meyerweb@mastodon.social avatar

I’ve followed up yesterday’s filtering toot with a more detailed blog post, with examples, which I hope makes more clear what I’m after (if not why). And it includes a link to a Codepen for any helpers to fork and edit! https://meyerweb.com/eric/thoughts/2023/12/21/pixelating-live-with-svg/

sebsauvage, to random French
@sebsauvage@framapiaf.org avatar


OH MON DIEU QUELLE HORREUR.
Un SVG peut contenir du javascript.
Et votre navigateur exécutera gentiment le javascript quand il ouvrira le SVG.
C'est sale.
https://github.com/berthubert/trifecta/issues/38

chriskirknielsen, to random

So I've been working on this little side project for a couple of weeks. It's likely buggy so let me know if you find oddities.

Anyways, here's SVG Filter Maker, a graph-builder-like tool to craft your own filters: https://svgfm.chriskirknielsen.com/

Ideas and feedback are welcome!

mathling, to genart
@mathling@mastodon.social avatar

interlude

Ouchi's illusion: the disk seems to float above the plane

Scroll up and down for a stronger effect

(Start of thread with many variants)

mathling, to genart
@mathling@mastodon.social avatar
u0421793, to random
@u0421793@functional.cafe avatar

2023 has hammered home how depressing the state of hypertext in 2023 has become

Given a simple web site of a handful of SVG/HTML/CSS pages, each containing a lot of identical content for eg header; nav; footer, there’s still no way that I can ascertain to just have those common parts inserted into each page – I’m having to have multiple copies in place in each page, which isn’t a problem once they settle down, but is a problem while I’m making changes

How have we gotten this far and not allowed HTML to insert common page parts as though they were actually typed in?

presstype, to CSS
@presstype@mastodon.social avatar

experts, I want to animate an SVG kind of like a gif with just showing and hiding layers sequentially in the SVG. I’m not sure where to start. I don’t need any transitions or anything.

timotheegoguely, to webdev
@timotheegoguely@mastodon.design avatar

I know burger menus are not the best menu pattern, but one of the websites I’m working on has one, and I would love to have some feedback on my code from accessibility experts.

Is this good or could it be improved? 🧐
Thanks for your help!

https://codepen.io/timotheegoguely/pen/GRwdWRM

seblammers, to programming
@seblammers@vis.social avatar

I finally pushed myself and published my personal website:

https://sebastianlammers.com/

It's where I experiment with all things web, like #html #css #javascript esp. #svelte and #svg most often in the context of #dataviz or similar forms of visual storytelling.

I have also put my first blog post up, where I share some notes on #dataWrangling in javascript:
https://sebastianlammers.com/posts/data-in-js-00

It's a multipart post aimed to be very beginner friendly.

Enjoy!

Meyerweb, to random
@Meyerweb@mastodon.social avatar

Visual filter challenge! I want an filter that, when applied to an HTML element like an image or video or heading or whatever:

• divides the element into a grid of cells (say, each cell is 10x10 pixels)
• finds the average color of all the pixels in each cell
• fills each cell with its average color

Basically, a pixelator, but done in this specific way, so I don’t have to dilate points, as in other solutions I’ve found. Anyone got ideas, or even a pointer to an example of this approach?

xahteiwi, to webdev
@xahteiwi@mastodon.social avatar

Somewhat niche question.

Suppose I have SVG files, which include some text (labels, and such like). And I want to use those images in several reveal.js presentations using different themes, which means the presentations use different default fonts.

Do I have a way to ensure that the text in the SVG is rendered in the same font as the HTML it's embedded in? If so, how?

(Boosts appreciated. Helpful comments too, obviously. 🙂)

vintprox, (edited ) to opensource
@vintprox@techhub.social avatar

Oooh, #GraphiteEditor has the node graph functionality, which allows you to compose vector objects from the primitives like fill, stroke, transform and live filters in a visual manner!

Node graph interface and filters both give me this nice break-out I needed after LPEs in #Inkscape. Don't get me wrong: that program is THE legend, developers are masters of vectors, and it's purely native Gtk toolkit on which application is built. Right now, their priority is CMYK support, so follow if you're into printing.

I just love to experiment with shiny new software that's #OpenSource, especially one that uses #RustLang and #web to its advantage.

Watch 'em apply circular repeat filter on a mere line to produce this fun sparkle effect. (It is Graphite's official channel, by the way. Wish they were on Mastodon?)

https://youtu.be/7gjUhl_3X10

#Graphite #FOSS #SelfHosted #PWA #SVG #VectorArt #VectorGraphics #Affinity #AffinityDesigner #Illustrator #AdobeIllustrator #Adobe #vector #vectors #NodeGraph

mathling, to genart
@mathling@mastodon.social avatar

interlude

More fun with complex function filtering

(-1.994+0.094i)cos(z)³ + (1.382+0.175i)cos(z)² + (-1.992+1.129i)cos(z) + (-1.026-1.281i)

applied over a flow field

mathling, to genart
@mathling@mastodon.social avatar

interlude

What have we here?

Circlemap: t[n+1] = (t[n] + Ω - K/2π sin(2πt[n])) mod 1

t[j] is fraction along circle

Run a number of generations, shrinking the circle each generation, plot the results

K=0.86, Ω=0.22

mathling, to genart
@mathling@mastodon.social avatar

#GenerativeArt interlude

Fun with letterforms

#XQuery #SVG #CreativeCoding

mathling, to genart
@mathling@mastodon.social avatar

interlude

What if you implemented an improved Bridson's algorithm for generating random points?

Well, OK, points, but...

janriemer, to graphics

This is genius:

vong | The first compute-centric vector graphic video game

https://github.com/simbleau/vong

I think zooming should be an explicit feature in the game (which triggers some behaviour/state change in the game besides zooming).🙃

mathling, to genart
@mathling@mastodon.social avatar

interlude

Soft ribbons

kentbrew, to webdev
@kentbrew@xoxo.zone avatar

Speaking as someone who used to hand-whittle SVGs with a text editor: this is brilliant. https://www.nan.fyi/svg-paths

andycarolan, to random
@andycarolan@social.lol avatar

I've had a few requests for different badges in the same style as my “Powered” and “Made by a Human” badges.

I’m thinking about taking these and a few more requests and selling them in packs containing 8 badges in 8 different colors in 88x31 PNG and SVG @ £2 (minimum donation)

If you have any requests for these badges, please let me know in the replies and I will add it to the list!

(No NSFW content please!)

https://ko-fi.com/andycarolan/shop

8 “Made by a Human” badges in 88x31 (made, drawn, human content, written, no ai, not a robot, never by ai, organic)

mathling, to genart
@mathling@mastodon.social avatar

interlude

What if you plotted sin(t) and then sin(sin(t)) and sin(sin(sin(t)) and ...

What if you introduced constants, e.g. sin(2 sin(t))?

What of you mixed it up a bit and sometimes used cos instead?

Here's using Pascal sequence (with mod + 1) for constants and random sin/cos

ottaross, to foss
@ottaross@mastodon.social avatar

Aha - #FOSS tools for the win. Wondered to myself, can I export an #SVG out of #Blender?

A quick Duck Search tells me yes, there's a plugin called #freestyleSVGExporter which will do it!

You convert an object to a greasePencil object then export that as an SVG. Nice.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • thenastyranch
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • ngwrru68w68
  • provamag3
  • magazineikmin
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • JUstTest
  • All magazines