Device Orientation with Vanilla JavaScript (Vintage Hologram Effect) @Radu
Device Orientation with Vanilla JavaScript (Vintage Hologram Effect)  @Radu
Uploaded May 2023 | Updated September 2026, 2 weeks ago
We learn to use the device orientation using vanilla javascript. We use the device orientation to create an old-school (vintage) hologram effect similar as those in this video:
youtu.be/7sED8ooVbjY
(Polaroid phantagrams The World of Nature Krypton laser holograms by @Smirholo)

You can create this effect with simple, vanilla JavaScript and using two images on your computer. For example, I use the images with Leonard and Radu from here:
radufromfinland.com/projects/hologram/A.png
radufromfinland.com/projects/hologram/B.png

Leonard and Radu are characters in many of my Edutainment videos from here:
youtube.com/playlist?list=PLB0Tybl0UNfZ3H76c_tHVJa18URCr_nlU

To test on your device, you can upload your code to github and use github pages, or, as I show in the tutorial, you can use codepen.

⭐ MORE LINKS ⭐

Interpolation Video
youtu.be/J_puRs40GhM

Codepen
codepen.io/gniziemazity/pen/bGxPPEq

Same place different seasons:
mountainphotographer.com/same-place-different-season
Device Orientation with Vanilla JavaScript (Vintage Hologram Effect)Strandbeests in JavaScript - Part 1🚙Self-driving Car🚁HELICOPTER🚁 Easter Egg 🐰🎅Text and Images on HTML CanvasMachine Learning Course - Lesson 10: Homework Review and Data CleaningMachine Learning Course - Lesson 15: Neural NetworksCaptain Americas Shield in JavaScript (LIVE - Testing DeepSeek)Advanced Drawing App | LIVE JavaScript Coding | Part 2: Shortcuts, Properties Panel, Save and LoadUnderstanding AI - Lesson 1 / 15: A Simple Neural NetworkA Virtual World - JavaScript Course: Lesson 9 / 11 [Self-driving Car Integration]Computational Problem Solving #SoME4Auto-Typing App with Vanilla JavaScript
Radu Mariescu-Istodor |

Device Orientation with Vanilla JavaScript (Vintage Hologram Effect)

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER