Stumbling Across Beach House
This past weekend, I started reading the docs for three.js and decided to see what I could do with it. I have been excited about jumping into WebGL since last summer, with an eventual goal to create something for a google cardboard VR set up.
After figuring out how to set up a new scene, camera, and renderer, I wrote a for loop to create cubes in this nice array. I used
scene.rotation.y to animate it spinning continuously.
Then while experimenting with different shapes and camera positions, I read that by using
Date.now() you could animate something back and forth, so I tried that out and then realized that I accidentally made something that looks similar to the Blooms album art from Beach House.
It was a nice excuse to revisit the album on Spotify, although I wasn't able to post a video of the animation on Facebook because of it.