• slaneesh_is_right@lemmy.org
    link
    fedilink
    English
    arrow-up
    21
    ·
    2 days ago

    There is a story about a guy who got a wish from a king or something. He said he wanted a grain of rice on a chessboard and double it on every square. The king didn’t exect much of it and the guy got a shit ton of rice.

    I think he got killed for being a douche.

    It doesn’t really make sense from the picture, because the grains just grow randomly insted of exponentially

    • jaybone@lemmy.zip
      link
      fedilink
      English
      arrow-up
      12
      ·
      2 days ago

      They are growing exponentially on the diagonal from the right downward and to the left.

      I’m wondering why they chose that pattern instead of going straight across a row or column.

      • Wolf314159@startrek.website
        link
        fedilink
        arrow-up
        5
        ·
        2 days ago

        There are lots of ways to fill a 2D space with a single non-crossing path. I’m sure counting the ways could be interesting to some. I guess you’d prefer a zig-zag oriented orthogonal to the sides, rather than the corners. This orientation fills the frame of a photo a little better though given the perspective. You could also make a spiral. I think the Hilbert space filling curve is way more interesting, but probably would make for a confusing photo.

        • jaybone@lemmy.zip
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 day ago

          I was thinking it would be interesting to see the functions for a given diagonal in OPs scheme, versus a row or column based approach. Then it occurred to me it might be easy to transform between these variants.