ICM Final


I will develop a way for users to:

1) Automatically get their weather data based on their location

2) Recommend several clothing articles based on their weather

3) Provide a link for the user to then purchase said articles of clothing

The critical point for me here will not only be the calling of information, but the organization of how the information is presented to the user.

Compliation Day: Digital and Physical Become One

This day did it for me. Melding the worlds of physical and digital was an awesome experience and something I have been looking forward to all semester. My partner and I both worked on our own mini-projects, which simultaneously helping each other figure out how to make everything work properly in p5. Below I have documented what I made that day.

Control RGB Values of a Particle System

Using 3 potentiometers, I connected each one to their own analog pins. I then fed the sensor values from Arduino into p5 and organized the data appropriately (with the help of Craig, Dan, and Kat) to effectively change each value properly (R, G, B) and have it relay that change immediately on the screen. I have posted the code here:


I want state that there was a delay, probably caused by the two sides communicating via the serial port that slowed down the processing of information. What this looked like was me turning the knobs and it changing colors after 15-20 seconds, which is not ideal.

Compilation Day: RGB value knobs from Jesal Trivedi on Vimeo.

Animation in P5

This week we had to work on animation. I understand conceptually the Random, and Map functions, but could not get the rotate function to work.

I wanted to go along a these of animating a particular scene instead of making something abstract. This helps me see how things work linearly, in a step-by-step fashion.

Here is the link to my project.


One element controlled by the mouse.

The sun turns into the moon

One element that changes over time, independently of the mouse.

The snowball.

One element that is different every time you run the sketch.

The snow appears randomly, but not in the way that I intended. I wanted a way for the snow to appear at the top (randomly) and “float” down.



ICM Homework #1

PROMPT: Write a blog post about how computation applies to your interests. This could be a subject you’ve studied, a job you’ve worked, a personal hobby, or a cause you care about. What projects do you imagine making this term? What projects do you love? (Review and contribute to the ICM Inspiration Wiki page. In the same post (or a new one), document the process of creating your sketches. What pitfalls did you run into? What could you not figure out how to do? How was the experience of using the web editor? Did you post any issues to github?


Computation applies to my interest in 3 ways:

  1. A desire for a deeper technical understanding of coding
  2. A desire to not rely on others for this specialized skill set for prototyping and experimenting with ideas & to have a solid baseline for technical conversations
  3. A way to reinterpret the world with a new medium and to see what can be done

I have always been obsessed with technology from when I was a kid, which led to a great opportunity to working at an Authorized Apple reseller while in college, repairing computers and selling products to customers. For the past 6 years, have been fascinated with the world of innovation, tech startups, design and entrepreneurship. The three reasons mentioned above hit on my interests on a deeper, more fundamental level of learning, experimenting, and changing how we perceive and interact with the world around us.

A couple of the most interesting things that I’m most excited about are the ability to draw and interact with sounds and to create interactive data visualization. I love how complex information can be simplified into beautiful illustrations, and to a further expect, if it can be portrayed in a way that the user can interact and manipulate the data. Cool visual animations are neat too! I’ve always been into dreams and lucid dreaming, so if there is a way visualize in a cool way, your dreams, that would be pretty extraordinary.

I took a dive into the ICM Wiki and I have pulled out a few of my favorites out of there:

1. hamoid/aBe Pazos

Some of my favorite works from his are:


Space Subdivision

2. Deep Dream

3. Urban Layers

4. NYC Street Trees by Species

5. Wind Map

6. Subway Deserts


Sketch and Breakdown


Here is the link to my code!

What started out as a simple background color change turned into an sea for my fish, Wanda, here, who is enamored by these bubbles that seem to have risen from below. Using ellipses and triangles exclusively, I was able to create this fish and the bubbles. I used a repetitive layering technique to create patterns in the fins.

Some of the issues I ran into was layers an the placements of the “fill()” functionality. In order to made this word, all the constraints relating to a particular shape must go above the said shape. I then ran into a few complications of using arcs and curves and decided it was better to use ellipses and cover portions of it up to emulate the ‘curved’ look. A hack, but I need to figure out how to use curves properly. I really wanted to play around with gradients, but even with that, I could not figure out yet how to implement it without it messing up my current sketch.