A generative art installation exploring transitions between solid, liquid, and gas through a continuously evolving particle system on a LILYGO T-Display.
The sketch visualizes particles transitioning through three states of matter:
- Solid: particles organize into a rigid grid and gently vibrate.
- Liquid: the structure loosens and particles flow toward the bottom of the display.
- Gas: particles move freely and disperse throughout the screen.
The transitions happen gradually, with particle movement and color changing from cool cyan to magenta to warm orange. Randomized motion makes each cycle slightly different rather than repeating a fixed animation.
- LILYGO / TTGO T-Display
- ESP32
- LiPo battery
- Paper envelope for installation
- Arduino IDE
- TFT_eSPI
- Install ESP32 support in Arduino IDE using esp32 by Espressif Systems.
- Install the TFT_eSPI library.
- Connect the LILYGO T-Display to your computer.
- In Arduino IDE, select:
- Board:
ESP32 Dev Module - Port: the serial port corresponding to your T-Display
- Upload Speed:
115200
- Board:
- Open
src/module1.ino. - Upload the sketch to the board.
The T-Display and LiPo battery were placed inside a paper envelope. The envelope extends the digital artwork into the physical installation: ordered blue geometric particles represent a solid, flowing purple forms represent a liquid, and dispersed yellow/orange dots represent a gas.


