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)

  • Pudutr0n@lemmy.worldOP
    link
    fedilink
    arrow-up
    6
    ·
    edit-2
    13 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
      ·
      4 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 :)