27
Dec
07

polarPixellate- Christmas Project

A little festive-season project.

It’s basically a pixellation effect that works on polar, rather than cartesian coordinates.
In the 2D Cartesian coordinate system, X and Y coordinates define the left/right and up/down position of a given point. In a Polar coordinate space, a point is defined by its Angle (represented by the Greek letter Phi in my code, but more often Theta is used, apparently) and distance from a centre point (r). The effect converts Cartesian to Polar coordinates, then ‘quantises’ the values of Phi and r to tweakable step-sizes. The effect is to divide the image up into ‘slices’ and rings. Easier to demonstrate with a few screenshots than to explain in words, as is usually the case.

Still needs some work, and I’m not quite sure how to deal with the ugly round hole in the centre, but I’m pretty pleased with it so far.

polarPixellate 1.0 01
‘Stepping’ the Angle (Phi) parameter

polarPixellate 1.0 02
Stepping the radius (r).

polarPixellate 1.0 03
…and finally, applying quantisation to both dimensions.

The Cartesian-Polar coordinate code I stole shamelessly from Libero Spagnolini’s Photobooth Demystified page, and the polarPixellate effect is a development of my earlier circle-wipe effect.

I think I’ll do a few more experiments in the future, to see what I can do with rectangular-to-polar coordinates and various distortions.

With thanks to Ed. for code advice and general encouragement and enthusiasm.

Advertisements

2 Responses to “polarPixellate- Christmas Project”


  1. 2 toneburst
    March 11, 2008 at 9:48 pm

    Cheers!

    alx


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Twitter

December 2007
M T W T F S S
« Nov   Jan »
 12
3456789
10111213141516
17181920212223
24252627282930
31  

Links

Blog Stats

  • 472,055 hits

%d bloggers like this: