Skip to content
Proyek

Tentang

Display Pepper's Ghost yang estetis

Proyek lainnya

Cara angka ini diukur

631 bintang47 Fork +4 dalam 24 jam

Pertumbuhan bintang terukur

dalam 24 jam
+4
dalam 7 hari
+71
dalam 15 hari
+183
dalam 1 bulan
Mengumpulkan riwayat

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

OpenGhost

This is the repository for OpenGhost, an open-source Pepper's Ghost display that uses a Raspberry Pi 5 with a camera, square screen, and a beam splitter cube as the transparent reflector, which sits on top of the screen. Additional peripherals, such as microphones, speakers, etc., can be added for some more interactivity via the USB ports.

OpenGhost intends to be a futuristic and aesthetic display medium that can run all sorts of visual and interactive programs, so feel free to get creative by adding your own scripts or modifying the hardware/designs!

Lorenz Attractor on 50 mm Lorenz Attractor on 70 mm
50 mm beam splitter cube 70 mm beam splitter cube

Setup And Installation

Hardware

Software

I'm using the Python library py5 to display graphics. If you are planning to do the same, follow these instructions:

  • Install Raspberry Pi OS Bookworm (uses Python 3.11)
  • Enable the square display on the Pi by following these instructions. If you used a different display, follow the manufacturer's instructions to enable it
  • Install a virtual environment with system site packages python -m venv .venv --system-site-packages
  • Install Java headless using sudo apt update && sudo apt install default-jdk
  • Install py5 using pip install py5 (requires Java)
  • Clone this repo

If The Camera Is Being Used

  • Downgrade numpy to numpy==1.26.4 (any numpy version less than 2.0)
  • Install dependency sudo apt install libcap-dev
  • Install picamera2 using pip install picamera2
  • Install libcamera sudo apt install libcamera-apps python3-libcamera python3-picamera2

How To Run Programs

  • Open a terminal and activate the virtual environment
  • Run export DISPLAY=:0.0 if the terminal session is new
  • Run the desired Python file

Video Demos

https://github.com/user-attachments/assets/3b03c9a8-5584-4b67-a87c-34f891654d6c

https://github.com/user-attachments/assets/0c3369e9-3200-40ce-94e5-a6c8e77574fc

Jelajahi proyek terkait

Memuat…