←back to thread

A new PNG spec

(www.programmax.net)
616 points bluedel | 6 comments | | HN request time: 0.37s | source | bottom
Show context
albert_e ◴[] No.44373786[source]
So animated GIFs can be replaced by Animated PNGs with alpha blending with transparent backgrounds and lossless compression! Some nostalgia from 2000s websites can be revived and relived :)

Curious if Animated SVGs are also a thing. I remember seeing some Javascript based SVG animations (it was a animated chatbot avatar) - but not sure if there is any standard framework.

replies(10): >>44373806 #>>44373868 #>>44374146 #>>44374225 #>>44374312 #>>44374556 #>>44374786 #>>44376132 #>>44379316 #>>44385628 #
andsoitis ◴[] No.44373806[source]
> Curious if Animated SVGs are also a thing.

Yes. Relevant animation elements:

• <set>

• <animate>

• <animateTransform>

• <animateMotion>

See https://www.w3schools.com/graphics/svg_animation.asp

replies(4): >>44373932 #>>44374154 #>>44374163 #>>44374253 #
1. mattigames ◴[] No.44373932[source]
Overshadowed by CSS animations for almost all use cases.
replies(2): >>44374011 #>>44385632 #
2. lawik ◴[] No.44374011[source]
But animated gradient outlines on text is the only use-case I care about.
replies(1): >>44375962 #
3. mattigames ◴[] No.44375962[source]
"Use case" is written without hyphen https://en.m.wikipedia.org/wiki/Use_case
replies(2): >>44377078 #>>44379726 #
4. fkyoureadthedoc ◴[] No.44377078{3}[source]
I have to differentiate myself from LLMs by using words wrong though
5. WorldMaker ◴[] No.44379726{3}[source]
Hyphenation of multi-word nouns is a process in English that usually happens after some time of usage as separate words. It often happens before eventually merger into a single compound word noun. Such as: "Electronic Mail" to "E Mail" to "e-mail" to "email".

Given how often it is used as a jargon term in software development, I can absolutely see this usage of "use-case" here as a "vote" for the next step in the process. Will we eventually see "usecase" become common? It's possible. I think it might even be a good idea. I'm debating adding my own "votes" for the hyphen moving forward.

6. account42 ◴[] No.44385632[source]
*in browsers

Most other SVG renderers don't support much CSS.