Most active commenters

    ←back to thread

    A new PNG spec

    (www.programmax.net)
    672 points bluedel | 12 comments | | HN request time: 0.952s | 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 #
    1. 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 #
    2. mattigames ◴[] No.44373932[source]
    Overshadowed by CSS animations for almost all use cases.
    replies(2): >>44374011 #>>44385632 #
    3. lawik ◴[] No.44374011[source]
    But animated gradient outlines on text is the only use-case I care about.
    replies(1): >>44375962 #
    4. albert_e ◴[] No.44374154[source]
    Oh TIL - Thanks!

    This could possibly be used to build full fledged games like pong and breakout :)

    replies(1): >>44380157 #
    5. ◴[] No.44374163[source]
    6. shakna ◴[] No.44374253[source]
    Slightly related, I recently hit on this SVG animation bug in Chrome (that someone else found):

    https://shkspr.mobi/blog/2025/06/an-annoying-svg-animation-b...

    7. mattigames ◴[] No.44375962{3}[source]
    "Use case" is written without hyphen https://en.m.wikipedia.org/wiki/Use_case
    replies(2): >>44377078 #>>44379726 #
    8. fkyoureadthedoc ◴[] No.44377078{4}[source]
    I have to differentiate myself from LLMs by using words wrong though
    9. WorldMaker ◴[] No.44379726{4}[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.

    10. jerf ◴[] No.44380157[source]
    SVG also supports Javascript, which will probably be a lot more useful for games.
    replies(1): >>44381167 #
    11. dveditz_ ◴[] No.44381167{3}[source]
    It supports JavaScript when used as a document, but when used as an "image" by a browser (IMG tag, CSS features) JavaScript and the loading of external resources are disabled.
    12. account42 ◴[] No.44385632[source]
    *in browsers

    Most other SVG renderers don't support much CSS.