More Experiments Around RGB Averaging

I decided to replicate the showing/hiding the dominant hues in images with showing/hiding around the average RGB values instead. I created a class called RGBColor (just holds red, green, and blue values), similar to the one I created called HSBColor. I could have used the java.awt.Color class, but that insists on a range of 0-1 […]

Read More

Eliminating the Dominant Hue from an Image

I thought it would be interesting to invert the idea of showing only the dominant hue, and show everything but that instead. I used the exact same code, but inverted the if statement so: if (!hueInRange(hue, lower, upper)) became if (hueInRange(hue, lower, upper)) Effect is as follows, as with most of these, my favourite effect […]

Read More

Showing Only the Dominant Hue In an Image

Having extracted the dominant hue from the images, we can manipulate the image such that pixels that are not (or close to) the dominant hue are instead made grayscale. I converted to grayscale using the brightness of the image in the HSB. This worked really nicely. From my earlier experiments I decided on a hue […]

Read More

Extracting Dominant Color: RGB Averaging Doesn’t Work

This makes sense – two colors can have the same R values, but wildly different G and B values. The result of averaging them will bear no relation to the originals. However just to prove it, it was very easy to tweak my code to average the RGB values instead of counting the hues. The […]

Read More

Extracting the Dominant Color from an Image in Processing

I’ve had an idea in mind for a while now, that requires extracting the dominant color from an image. I had no idea how to do this, and worried it would be really hard. The first thing was extracting the pixels from the image for processing, this was super easy thanks to this handy image […]

Read More

4 Hours to Smash the CS Stereotype and Create Something Beautiful

Haribo Micro Mix

Ali and I will presenting our paper 4 Hours to Smash the CS Stereotype and Create Something Beautiful (pdf) at the upcoming CICE Education conference in Toronto. Christine Alvarado of Harvey Mudd college came to Google last month to gave a talk on how they’d brought female enrollment in Computer Science up to 42%. The talk is called “Three […]

Read More

Sunflower Layout in Processing

For a while, I’ve been wanting to make something that explores color in photo sets. Reading Beautiful Visualization (Amazon), I came across the perfect way to arrange the elements. It imitates the layout of the sunflower seeds, “the most efficient and visually mesmerizing way of packing small elements into a large circle”. I decided to […]

Read More

Experimenting with a Visual, Activity-Based Curriculum

web

When I left Ottawa, I had to find the new me to run my Processing Workshop. His name is Ali and he’s awesome. He’s had the idea to write up the ideas into a paper, so we’re working on that at the moment, but it occurred to me that I didn’t write much about it […]

Read More

Part 6: Who’s Talking About The Future of Newspapers?

Continued on from Part 5, exploring what they are saying using the Phrase Net visualization from Many Eyes. Each image is a link to the applet where you can explore the text and interact with it. Change the linking word on the left – I’ve used space, but “and” or “is” in particular could be […]

Read More

Part 5: Who’s Talking About The Future Of Newspapers?

Continued on from Part 4, exploring what they are saying using Word Trees on Many Eyes. Each image is a link to the applet where you can explore the text and interact with it. Change the word in the top left corner to change the root of the tree. Alex Howard Alfred Hermida Andrew Keen […]

Read More