This is a recurring pattern I see when making infinite grid. I figured there might be a name to this “fractal” if I may call it that way. Does it even have a name?

  • thesmokingman@programming.dev
    link
    fedilink
    arrow-up
    8
    arrow-down
    1
    ·
    10 months ago

    In layman’s terms, a fractal shows the same shape when we zoom in or zoom out. At first blush, this doesn’t seem like it would have similar form if we zoom in on, say, the center middle. I don’t want to totally discount you because some fractals have several iterations that aren’t immediately obvious.

    What I think we’re seeing here is just artifacts in the rendering algorithm of whatever it is you’re sharing. Can you give more context on what this is?

    • thesmokingman@programming.dev
      link
      fedilink
      arrow-up
      11
      ·
      10 months ago

      Okay after posting I realized what I was looking at. My initial assessment was correct. In a truly infinite grid, we would never seen the background (the blue/white). What we’re seeing here is influenced by the render distance. You continue to see the same shape when you move around because this program is only displaying so many cubes in any direction when you move. I strongly suspect you’d get similar but different outlines if you changed the render distance. It’s a partitioning of the visual space using a coordinate display.

      • ReveredOxygen@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        2
        ·
        10 months ago

        That might be the case with the diagonal lines, but for the horizontal one there just truly aren’t any blocks, since the player is in between to layers

        • thesmokingman@programming.dev
          link
          fedilink
          arrow-up
          4
          ·
          10 months ago

          That’s still rendering distance and visual perception. We see a large gap because the rendering distance is relatively low. If the rendering distance extends to infinity, our ability to see the gap disappears even though there is still a gap. We’re basically looking at a one point perspective. The way we represent that, both on paper or digitally, is have parallel lines meet at infinity in a single point.