• Skip to main content
  • Skip to primary sidebar
  • Skip to footer

Tuan Huang

  • Spring 2022
  • Fall 2021
  • About

04: Tunnel Cube

 

a white cube with led lights on a surface

Concept

Tunnel cube is an interactive project as an attempt to recreate the experience of cars driving through tunnels. When I was a kid, sitting in the backseat of my dad’s car, I was always fascinated by the lights and shadows cast on the tunnel because of the car lights. For this cube, the light follows the ball as it passes through the tunnel, and eventually comes out from the other side.

Process

In the cube, there is a slight ramp that makes the ball roll. At the end of the ramp, I attached a VL530X time of flight sensor to locate the ball while it rolls. And using this distance value, I map it to each individual Neopixel, which is attached to the outer plane of the box. Regarding fabrication, my biggest challenge comes from the linear direction of VL530X. Since it uses laser light for proximity sensing, the direction has to be very specific for it to work properly. 

a cardboard box with a ramp, a box, an Arduino board and a bread boad a cardboard box attached with led lights on one side

To make the transition of light smoother, I also used the average function in one of the examples from last week. 

a screenshot with lines of codes in Arduino IDE

a white cube with led lights on a surface

 

 

Primary Sidebar

Footer

Recent

  • #final project: E-Forms
  • #5 Form Generator + Auto-fill by computers
  • #4 Revisiting Digital Cut-up
  • 03: Form Generator
  • 04: Tunnel Cube

Tuan © 2025