Sin descripción

tuanchris 56cd5e836c Use modal dialog for WiFi network connection hace 4 meses
.github 57640f49d2 Restrict PR Docker builds to repo owner only hace 5 meses
dune-weaver-touch 90c7d226fc Add LCD screen brightness control to Touch LED page hace 5 meses
firmware 0132886653 update config hace 4 meses
frontend 56cd5e836c Use modal dialog for WiFi network connection hace 4 meses
modules b1cc08850f Show WiFi password form inline below selected network hace 4 meses
patterns 1d508dba40 update mini clear patterns hace 8 meses
scripts 5a8083d14a feat: Complete React UI rewrite with new frontend architecture (#112) hace 5 meses
static 5a8083d14a feat: Complete React UI rewrite with new frontend architecture (#112) hace 5 meses
steps_calibration 4a282335fb latest new_ui hace 1 año
templates 5a8083d14a feat: Complete React UI rewrite with new frontend architecture (#112) hace 5 meses
tests 92a7d5d366 Fix wrong pattern plays after playlist completion and improve pause/resume UX hace 5 meses
wifi e96be3fe14 Fix captive portal: use NM built-in dnsmasq + add portal detection handlers hace 4 meses
.dockerignore 5a8083d14a feat: Complete React UI rewrite with new frontend architecture (#112) hace 5 meses
.gitattributes 5a8083d14a feat: Complete React UI rewrite with new frontend architecture (#112) hace 5 meses
.gitignore 7ca0faf42f Add app security, settings/state split, and browse page improvements hace 5 meses
CONTRIBUTING.md 5a8083d14a feat: Complete React UI rewrite with new frontend architecture (#112) hace 5 meses
Dockerfile 17d1b8bd31 Fix Docker WiFi: install nmcli in image, use D-Bus instead of chroot hace 4 meses
LICENSE 4a282335fb latest new_ui hace 1 año
PATTERN_CREDITS.md 4a282335fb latest new_ui hace 1 año
README.md 5a8083d14a feat: Complete React UI rewrite with new frontend architecture (#112) hace 5 meses
VERSION 7ca0faf42f Add app security, settings/state split, and browse page improvements hace 5 meses
__init__.py 4a282335fb latest new_ui hace 1 año
docker-compose.yml 17d1b8bd31 Fix Docker WiFi: install nmcli in image, use D-Bus instead of chroot hace 4 meses
dw 10825dc5ee Fix nmcli key-mgmt error: use explicit connection profiles hace 4 meses
main.py e96be3fe14 Fix captive portal: use NM built-in dnsmasq + add portal detection handlers hace 4 meses
nginx.conf e96be3fe14 Fix captive portal: use NM built-in dnsmasq + add portal detection handlers hace 4 meses
package-lock.json 5a8083d14a feat: Complete React UI rewrite with new frontend architecture (#112) hace 5 meses
package.json 5a8083d14a feat: Complete React UI rewrite with new frontend architecture (#112) hace 5 meses
pyproject.toml 5a8083d14a feat: Complete React UI rewrite with new frontend architecture (#112) hace 5 meses
requirements-dev.txt 5a8083d14a feat: Complete React UI rewrite with new frontend architecture (#112) hace 5 meses
requirements-nonrpi.txt 5a8083d14a feat: Complete React UI rewrite with new frontend architecture (#112) hace 5 meses
requirements.txt 00af48c484 Fix Pi 5 NeoPixel package version - use pre-release 1.0.0rc1 hace 6 meses
setup-pi.sh 795096f781 Add autohotspot system for plug-and-play WiFi setup hace 4 meses

README.md

Dune Weaver

Patreon

Dune Weaver

An open-source kinetic sand art table that creates mesmerizing patterns using a ball controlled by precision motors.

Features

  • Modern React UI — A responsive, touch-friendly web interface that installs as a PWA on any device
  • Pattern Library — Browse, upload, and manage hundreds of sand patterns with auto-generated previews
  • Live Preview — Watch your pattern come to life in real time with progress tracking
  • Playlists — Queue up multiple patterns with configurable pause times and automatic clearing between drawings
  • LED Integration — Synchronized lighting via native DW LEDs or WLED, with separate idle, playing, and scheduled modes
  • Still Sands Scheduling — Set quiet hours so the table pauses automatically on your schedule
  • Multi-Table Support — Control several sand tables from a single interface
  • Home Assistant Integration — Connect to Home Assistant or other home automation systems using MQTT
  • Auto-Updates — One-click software updates right from the settings page
  • Add-Ons — Optional Desert Compass for auto-homing and DW Touch for dedicated touchscreen control

How It Works

The system is split across two devices connected via USB:

┌─────────────────┐         USB          ┌─────────────────┐
│  Raspberry Pi   │ ◄──────────────────► │  DLC32 / ESP32  │
│  (Dune Weaver   │                      │  (FluidNC)      │
│   Backend)      │                      │                 │
└─────────────────┘                      └─────────────────┘
        │                                        │
        │ Wi-Fi                                  │ Motor signals
        ▼                                        ▼
   Web Browser                            Stepper Motors
   (Control UI)                           (Theta & Rho)

The Raspberry Pi runs the web UI, manages pattern files and playlists, and converts patterns into G-code. The DLC32/ESP32 running FluidNC firmware receives that G-code and drives the stepper motors in real time.

Hardware

Dune Weaver comes in three premium models:

DW Pro DW Mini Pro DW Gold
Size 75 cm (29.5") 25 cm (10") 45 cm (17")
Enclosure IKEA VITTSJÖ table IKEA BLANDA bowl IKEA TORSJÖ side table
Motors 2 × NEMA 17 2 × NEMA 17 2 × NEMA 17
Controller DLC32 DLC32 DLC32
Best for Living rooms Desktops Side-table accent piece

All models run the same software with FluidNC firmware — only the mechanical parts differ.

Free 3D-printable models on MakerWorld: DW OG · DW Mini

Build guides, BOMs, and wiring diagrams are in the Dune Weaver Docs.

Quick Start

The fastest way to get running on a Raspberry Pi:

curl -fsSL https://raw.githubusercontent.com/tuanchris/dune-weaver/main/setup-pi.sh | bash

This installs Docker, clones the repo, and starts the application. Once it finishes, open http://<hostname>.local in your browser.

For full deployment options (Docker, manual install, development setup, Windows, and more), see the Deploying Backend guide.

Polar coordinates

The sand table uses polar coordinates instead of the typical X-Y grid:

  • Theta (θ) — the angle in radians (2π = one full revolution)
  • Rho (ρ) — the distance from the center (0.0 = center, 1.0 = edge)

Patterns are stored as .thr text files — one coordinate pair per line:

# A simple four-point star
0.000 0.5
1.571 0.7
3.142 0.5
4.712 0.7

The same pattern file works on any table size thanks to the normalized coordinate system. You can create patterns by hand, generate them with code, or browse the built-in library.

Documentation

Full setup instructions, hardware assembly, firmware flashing, and advanced configuration:

Dune Weaver Docs

Contributing

We welcome contributions! See the Contributing Guide for how to get started.


Happy sand drawing!