Daddy needs a new pair of RAM!

edit: the fps are way better in smaller terminal windows with lower character count but then it’s hard to make out the dice. D:

edit2: code here (expires in 2 weeks)

  • vrek@programming.dev
    link
    fedilink
    English
    arrow-up
    6
    ·
    15 hours ago

    Just letting you know the original post video didn’t load and gave a 500 error in jerboa but those two links work. Looks impressive but I’m confused on how to read the die. Yes there is a giant banner telling me the value it chose but I’m struggling to figure out how the visuals map to those values, can you give some details on how to read the die?

    • Pudutr0n@lemmy.worldOP
      link
      fedilink
      arrow-up
      6
      ·
      edit-2
      14 hours ago

      Yes, the values are rendered on top of each face with “pixel” maps (ascii art) that have the character of the digit they represent as each pixel. These are later manipulated by the perspective projection.

      For example on this d6 you can see the top face has 1s written down (in the shape of a sideways one) and the front one has 4s written down in the shape of a skewed and sideways 4.

      In this specific color scheme there’s not a lot of contrast between the values, but even in the palettes with better contrast, good readability is something I’m kind of giving up on solving well.

      edit: might be clearer here:

      • vrek@programming.dev
        link
        fedilink
        English
        arrow-up
        2
        ·
        5 hours ago

        In the second picture (with the d20) I’m guessing the face with “999” is actually a 9 but what is the value of the face with “999#111”…there is no value of 91 on a d20 :)