A “light” problem 2.0

This assignment is about upgrading a previous assignment using functions. As my previous assignments already do (and the first one is not really worth it), the upgrade I want to try is using WebGL to get to use the directionalLight and pointLight functions… and this was not as easy as I expected. WARNING: Lots of…

Beautiful Ideas, Chaotic Failures

This is a story about craziness and predictability. Everything could have been avoided, but ambition got in the way. I wanted to make a laser harp. Simple, right? Actually, no, not at all, but that made it more tempting. The concept was not that complicated: some laser diodes would be cast on phototransistors and -as…

Collaborating snakes

TL:DR, here’s the link to the running sketch. For this assignment we had to work in pairs, two people, could not do it by yourself. I partnered with Caleb, not only because he was sitting next to me, but mainly because I found really interesting his approach to his last assignment. We quickly reached an…

A “light” problem

TL;DR you can see the script running here. For this assignment I wanted to expand on the first one and play with light sources and colors. Addressing the requirements, I wanted to use a mouse-controlled light source, on a background that has a day/night cycle and random elements to explore: 1. One element controlled by…

Amazing and magnificent p5.js sunset

My notes on the first class can be found here Drawing For this assignment I wanted to try out the p5.js web editor. Usually, I write my code on Atom and save it on a Github repository, so losing that option and part of my work flow was disrupting. It was ok for this assignment,…