3D DICE ROLLER / ESP32 APPLICATION
Home Dice · 3D Dice
A small-screen 3D dice roller for tabletop games, with touch, motion and button input.

About this project
About this project
A 480x480 AMOLED fills with a spinning dice cube, tumbling after a touch, a shake or a press of the board's GPIO18 button and settling on a face. Rendering happens on the board itself in Arduino code, drawn as signed distance fields; a native host check compiles the same renderer on a computer to verify the face orientation before anything is flashed. The target is the Waveshare ESP32-S3-Touch-AMOLED-2.16 with its CO5300 panel, CST9220 touch and QMI8658 IMU, and the sketch needs Arduino_GFX, SensorLib and the CST92xx touch driver. The project is archived: the dice is now one app inside Family Hub, which runs one firmware with Roll Dice and Voice Notes, so flashing from here gives an older renderer that is no longer maintained.
From the README
From the README
- Input
- Roll with the touchscreen, shake gesture, or the board's GPIO18 button.
- Build
- Open firmware/dice3d/dice3d.ino as an Arduino sketch.
- Test
- This checks the renderer's face orientation and writes sample PPM images to /tmp.
- Status
- This repository is archived
Hardware
Native board: Waveshare ESP32-S3-Touch-AMOLED-2.16
Boards: Waveshare ESP32-S3-Touch-AMOLED-2.16 ESP32-S3
480 × 480 AMOLED display and IMU. The browser preview replays frames rendered by the project's shared renderer.
Media credit & rights
Original ESP32 Gallery artwork · Credit: ESP32 Gallery / ESP32 Home Dice
Project-rendered animation from the site's own open-source dice project.
View original source ↗ Copyright & removal · Reviewed
More projects on these boards
Family Hub · Voice Notes Tilt A Tron Espresso Shot Timer S3 Desk Waveshare AMOLED Watch jarvis
See what an ESP32 project looks like, and whether it runs on your board.
FILTERS
Browse by form factor. Check the exact board, chip and peripherals before installing.
Try a project
Newest listings
Give your project a little spotlight.
Repository links do not imply author endorsement or verified hardware compatibility. Check the upstream safety guidance before powering or flashing a build.