a-d.s

Hologram

A sketchy "hologram" generator

🚧🏗️🚚HTML WORK AHEAD (i) play pause stop 🚧

"Hologram" on https://aligot-death.space, available at https://aligot-death.space/projects/hologram-en


A dark room with a pyramid shaped "hologram" on one side, and people doing light-painting on the other

Sommaire

In 2018 I made a "hologram" using the typical clear-plastic inverted pyramid. The project went through several iterations.

Its goal wasn't to be ground-breaking but rather to entertain kids et even adults in events around digital and visual projects, like the "Expériences Numériques" (defunct website) and the Journées du logiciel Libre (https://jdll.org)

The first iteration was an activity meant for kids, where they would build a small pyramid, to be placed on a smartphone to create a basic hologram using pre-made videos on the internet.

The second iteration was an autonomous installation where people would (try to) follow instructions in a terminal to create a hologram of their face, kind of like a 3D photo booth (except faux-3D), on a fairly big pyramid. around 50 holograms were created.

The last one was a crossover with a light-painting workshop, where people (mostly kids) would make a light-painting photograph and see it display in "3D" on the hologram.

This is the few photos I've been able to find in my archives or using the Internet Archive (the association website being now defunct).

The (sub-par) code is at the bottom.

Photos#

hologram_polegone-8-150x150.jpg hologram_polegone-11-150x150.jpg hologram_IMG_0073.jpg hologram_IMG_0061.jpg hologram_IMG_0022.jpg

Code#

(This script requires imagemagick, and might not even be compatible anymore, provided as is).

 1 #!/bin/bash
 2 
 3 echo "la capture durera 3 secondes !"
 4 echo "Entrez votre mail afin que l'on vous envoie le fichier à postériori:"
 5 
 6 read mail_addr
 7 
 8 echo "(Attention, si vous vous trompez vous devrez refaire la vidéo !)"
 9 
10 captime=$(date +"%Y_%m%d_%H-%M-%S")
11 
12 echo "$mail_addr: $captime" >> ~/liste_mail.txt
13 
14 echo "capture dans..."
15 echo "5..."
16 sleep 1
17 echo "4..."
18 sleep 1
19 echo "3..."
20 sleep 1
21 echo "2..."
22 sleep 1
23 echo "1..."
24 sleep 1
25 echo "capture !"
26 
27 streamer -q -c /dev/video0 -f rgb24 -r 25 -t 00:00:03 -o /home/jdll/holo_files/outfile.avi
28 
29 echo "#######################"
30 echo "fini !"
31 echo "#######################"
32 
33 echo "début du traitement : cela peut prendre jusqu'à une minute"
34 
35 convert /home/jdll/holo_files/outfile.avi -background Black -scale 50% -rotate -45 -extent 200x200 -delay 4 /home/jdll/holo_files/out0.gif
36 convert /home/jdll/holo_files/outfile.avi -background Black -scale 50% -rotate 45 -extent 200x200 -delay 4 /home/jdll/holo_files/out1.gif
37 convert /home/jdll/holo_files/outfile.avi -background Black -scale 50% -rotate 135 -extent 200x200 -delay 4 /home/jdll/holo_files/out2.gif
38 convert /home/jdll/holo_files/outfile.avi -background Black -scale 50% -rotate 225 -extent 200x200 -delay 4 /home/jdll/holo_files/out3.gif
39 
40 convert /home/jdll/holo_files/out0.gif -repage 400x200 -coalesce null: \( /home/jdll/holo_files/out1.gif -coalesce \) -geometry +200+0 -layers Composite /home/jdll/holo_files/out01.gif
41 
42 convert /home/jdll/holo_files/out3.gif -repage 400x200 -coalesce null: \( /home/jdll/holo_files/out2.gif -coalesce \) -geometry +200+0 -layers Composite /home/jdll/holo_files/out32.gif
43 
44 convert /home/jdll/holo_files/out01.gif -repage 400x400 -coalesce null: \( /home/jdll/holo_files/out32.gif -coalesce \) -geometry +0+200 -layers Composite /home/jdll/holo_files/videos/final_$captime.mp4
45 
46 
47 killall vlc
48 
49 timeout 9 vlc --repeat /home/jdll/holo_files/videos/final_$captime.mp4

contact

contact

Support

Ko-fi