Triangle Filter Using Processing

It was a while back when I became aware of the work of a New York based painter named C. Finley. The geometric elements in most of her paintings was a play on math and color. I really like when science and art are combined into something different! It was during her exhibition at the Con Artist Gallery that I thought maybe I can replicate her style using Processing.

I’ve only taken a minor step into the more complex shapes C. Finley paints. In the image below I’ve created a filter that converts the pixels of an image into triangles. I can also change the triangles to squares or rectangles. But I’m not sure how I can add different shapes into this filter and have them organically form a recognizable image. That would take some serious algorithm. If I figure that out I’ll be sure to share it here.

Triangle Filter on Madison Town Hall
Triangle Filter on Madison Town Hall

Source code: Linux, Mac, Windows. (You might need to install Java to make the sketch work.)

Being a Geek Again

Maybe it’s because of the strong Colombian coffee I had this morning, but today I was so productive!

I began the day by playing around with my old Electronics Kit that I bought from Maker Shed back in December of 2013. I learned what a relay is and how capacitance works. I was especially proud of myself when I assembled a circuit on the breadboard from a schematic drawing. I had to relearn how to use a multimeter to check voltage and resistance. And I feel I might be able to build something useful in the next few days or a couple of weeks. Heck, I might even join Hive4A, the local electronics/computer hacking group, as a regular member.

Make: Electronics Kit
Make: Electronics Kit

But my enthusiasm for knowledge did not stop here. I was looking at some of the old websites I saved in my Evernote and found It’s a website that teaches you web developing through a curriculum and doing projects for nonprofit organizations. I love the idea of combining learning with real projects. I spent a good hour reviewing HTML, CSS, Bootstrap, while learning some other useful tools such as Font Awesome. I’ll be sure to come back to the site and continue my quest of learning.

I just wish everyday is like this. Learning is so much fun!

My Cannondale

The 1999 Cannondale M400 in charger orange… One of my prized possessions, mainly because it was a Christmas gift from my parents back in 1998. I had arrived in the U.S. for about three years and I was given a $500 bicycle!

This slideshow requires JavaScript.

I rode it to school everyday, in the sun and in the rain. The gears worked perfectly without a sound and the ride was so smooth, like riding on silk. Then one day on my way home, I decided to park my bike in front of Scottie’s, a record store in town, while I browsed some CDs. When I came out, the bike was gone. I was devastated. What have I done? Or rather what have I not do? Lock my bike.

Luckily my parents bought the bike on a credit card and the company offered a $300 credit if I get another bicycle. We went to the local bicycle shop and I pointed to the same exact model and color bike. This bicycle has been with me for almost 20 years.

Today is so beautiful that nature is calling me to get on my bike again! It has been a while since I took the Cannondale for a ride so I filled up my water bottles, put on my cycling gloves, sported a pair of shades, and made sure there was a helmet on my head. I pedaled the bike out of the driveway and immediately felt freedom again.

I rode 3.6 miles to a nearby park. After I parked my bike I had to lay down on the bench for about five minutes to recover myself. I felt old.

When I rode back home, I realized that I should cycle more. Not only will I be in better shape, I will rekindle what I had experienced when I was a child: freedom.

Yes, freedom. Isn’t that what life is all about? The freedom to explore, the freedom to express yourself, the freedom to dream, and the freedom to make your dreams come true.