https://editor.p5js.org/hh3683/sketches/jzgUjtY6S I went back to my last week’s work and added image to every faces of die so that it actually looks like a die.
And then I remembered that last time when I tried to start the die animation at random position, it sometimes wouldn’t stop properly but spin infinitely. The die was supposed to slow down from friction and eventually stop. So I thought I would give it another try by using AI and see if this problem can be fixed.
https://editor.p5js.org/hh3683/sketches/t1K8A_u0o
Long story short, any AI couldn’t fix the issue. Every time they tried to fix it, it made it worse,,,