Monday, November 15, 2010

Reality made Virtual

In case you hadn't heard, Microsoft recently released a new accessory for their game console called the Kinect. Without going into much detail, the Kinect is packed with some advanced electronic sensors. Some people are unwilling simply to take what has been offered them as it is--these are true, free individuals, actively exercising volition; call them hackers. Within days of being released, the Kinect was unleashed, hacked to fill a bounty. Here we are, 11 days later, and one hacker has built on top of the work of other similarly intrepid minds something profound; as seen on hackaday, it is reality made virtual:

Thursday, November 11, 2010

Swirls and Spirals in GIMP

This blog has most of its traffic coming from image searches. There also happens to be few images that turn up of plain spirals when googling such a thing. So, in a shameless bid to drive more traffic, I'm going to do a short lesson on making spirals in GIMP, complete with images that are free to reuse for non-commercial purposes. There are a number of different ways to do different spirals, this is just one way that works.

1. To create a basic two tone spiral, begin by dividing the canvas in the colors desired; note it doesn't really matter how you divide the canvas, so I'm going with the second (or third) most obvious way.

2. If you want to swirl around a very specific point, such as the center of the image, it will help to paint a smallish, visible dot at this point (using guides and the snap-to-guide option might help). If you get the right size dot and do enough swirling, you don't even need to do any touch up as the dot gets swirled into the infinite beyond.

3. Be sure to select all, then use the IWarp filter (filters>distorts>IWarp), with the deform mode as either swirl CCW or swirl CW. Instead of clicking and dragging as suggested, just click repeatedly on the same spot. I prefer to do less clicking, so I set the deform amount to the maximum; you will have to experiment with the deform radius to get the result you desire. The result will look something like this:

4. If you'd rather not have a square border around the roundness, use the ellipse select, invert selection, and delete/fill/whatev. You have a true circle when the sizes in the ellipse select tool options are equal. Note that blogger is replacing transparency with black. Result:

The following process for a spiral with more than two tones can also be used for two tone, in fact if you want to end up with a circular boundary this way is probably easier.

1.Start by dividing the image into your colors.

2. Next, use filters>distorts>polar coordinates to come up with exactly the multicolored circle you need. While doing so you can abandon any preconceptions about the separation between mathematics and art, as this filter is using the Pythagorean theorem and inverse sine function (aka arcsin) to convert the image from the rectangular Cartesian coordinate system to the circular system of polar coordinates. In rectangular coordinates, a position is denoted by horizontal and vertical displacements from the center (aka origin); in polar coordinates a position is denoted by its distance from the origin and amount of rotation away from whatever is considered 0 degrees/radians. If you didn't know about all this polar coordinate business, consider how much more useful GIMP is going to be now that you do, and how generally richer life will be from now on.

3. The same as step 3 above, filters>distorts>IWarp, swirl, and click away. There will be a tiny bit of deviation from perfectly circular, this can be helped either by fine tuning the IWarp settings, by using step 4 above, or by just getting over it/seeking profession help in overcoming OCD.