I had a go at drawing some fractal patterns with Processing. Here are some screenshots of the Koch Curve. My buttons still need some work, so don't focus on them.
For the buttons, when I had to implement something like this, I used rectangles, the first one two pixels bigger than the button face in a light colour, the second in the darker shade one pixel smaller height and width, and offset by one pixel top and left, the third rectangle two pixels smaller and offset from the first rectangle by one pixel.
On the 5th of January 2011 I started with a PhD in Computer Science with Newcastle University (UK). I'll be keeping myself busy with analysis of large scale data and computational modelling of the stomatogastric ganglion of the crab.
1 comment:
For the buttons, when I had to implement something like this, I used rectangles, the first one two pixels bigger than the button face in a light colour, the second in the darker shade one pixel smaller height and width, and offset by one pixel top and left, the third rectangle two pixels smaller and offset from the first rectangle by one pixel.
Post a Comment