ESP32 Gallery

3D DICE ROLLER / ESP32 APPLICATION

Home Dice · 3D Dice

A small-screen 3D dice roller for tabletop games, with touch, motion and button input.

Home Dice · 3D Dice
Open project preview ↗ Full-screen preview ↗
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

Source repository ↗

Are you the author? Add a badge

Paste this into the project README. It links to this project's page.

[![Listed on ESP32 Gallery](https://esp32gallery.com/badge.svg)](https://esp32gallery.com/projects/dice/)
<a href="https://esp32gallery.com/projects/dice/"><img alt="Listed on ESP32 Gallery" src="https://esp32gallery.com/badge.svg"></a>

Browse all projects

See what an ESP32 project looks like, and whether it runs on your board.

Sort

FILTERS

Browse by form factor. Check the exact board, chip and peripherals before installing.

MADE SOMETHING?

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.

Try it

Project source ↗
Build & safety

Open project page ↗
Are you the author? Add a badge

Paste this into the project README. It links to this project's page.

FROM YOUR WORKBENCH

Small board.
Big idea.

Share what you've made.

Automatic checks start now. Most reviews finish in 1–3 days.

Prefer GitHub? Open an issue ↗