/bonsai

Digital terrarium for Raspberry Pi Pico written in MicroPython

Primary LanguagePython

bonsai

A digital terrarium written in MicroPython for a Raspberry Pi Pico mounted with a BreakoutColourLCD240x240.

The code, written using the Thonny IDE and Pimorini's st7789 library, creates a nature scene that will change in real-time, simulating the seasons alongside animated weather conditions, sunrises and sunsets.

Winter twilight

Autumn evening

Spring sunrise

Summer afternoon

Existing features

(currently need to be manually implemented, ie they're not yet tied to the clock)

  • snowfall
  • rainfall
  • basic sunrise, sunset and sky tones
  • leaves, with seasonal colours
  • moon
  • fireworks

In development

  • leafall
  • leaf growth
  • greater variation in branch shapes
  • cloud cover
  • greater variety in sky colours
  • tie everything to the clock: ultimately the terrarium should use the date/time to generate a seasonal scene