Bye bye stack was nice knowing you.

  • hihi24522@lemm.ee
    link
    fedilink
    arrow-up
    6
    ·
    6 days ago

    Wait, is it possible to create a real infinite droste effect with vector graphics since they aren’t limited by resolution?

    As long as you can do recursion in the xml it should be possible to make an svg that’s “infinitely” recursive yes?

    (I have no experience on this topic)

    • CanadaPlus@lemmy.sdf.org
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      6 days ago

      Depends on how the format represents the image. My impression is that it’s in a way that’s implicitly limited to smooth (so definitely not fractal) curves.

      You’re never going to fit infinite detail in finite information, of course. At best you can loop through the finite information.

    • /home/pineapplelover@lemm.ee
      link
      fedilink
      arrow-up
      1
      ·
      6 days ago

      Would it be an infinite file then? I guess unless you restrain the max file size. But as you’re zooming in, it will keep making more microscopic image, it’s kind of like a function that keeps approaching x value yet never reached it.

      My brain hurts

      • hihi24522@lemm.ee
        link
        fedilink
        arrow-up
        4
        ·
        6 days ago

        Well the svg file itself wouldn’t be, but whatever tries to render the image might think the file is infinite since it’d loop around forever. Come to think of it, I’d imaging there are probably safeguards in place to prevent svg files like this hypothetical one from being opened because they’d run as an infinite loop