this post was submitted on 01 Sep 2026
512 points (98.7% liked)
Programming
28351 readers
448 users here now
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities !webdev@programming.dev
founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I'm viewing this thread in Lemmy and am unable to find any mention of a link to the source code or a demo, and I can't see the attached media (genetic image icon - is it an animated gif or a video?).
Based on all the comments, I appear to be in the [significant] minority. Would you mind posting a link to your source or demo or image/video?
I haven't shared the source code yet because criticism is terrifying and I'm a horrible coder, but with the encouragement of the the community I might give it a shot. I don't even have a codeberg account yet though.
The post contains these two video links: https://files.catbox.moe/8rz9m7.mp4 https://files.catbox.moe/5d3n2k.mp4
If you still can't see them, maybe you can suggest a different hosting service, one that works for you? Or if you really really want the source code I suppose I could send it by DM on the meantime.
There are millions of professional coders who couldn't do what you did there.
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?
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:
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 :)
actually I was working on the code and realized i got the textures mirrored due to negative-positive mix up. so it was reflecting the mirror image of 19
Ah that makes sense. Overall looks impressive, was just confused on my end.
thanks! :D
That's pretty darn cool! Thanks for sharing. Ik forward to cloning your repo someday.
here ya go
I'll do a follow up post when I upload
what video hosting service works for you?
I have no idea. I self-host a lot
well i don't know how to deliver the media to you then D: sry. you can snag the code from pastebin though. I linked on my last edit.
No worries. That service is just refusing the connection or 500ing for people.
here's the source code. :)