Saturday, December 24, 2011

Pingus 0.7.6 - Xmas 2011

Pingus 0.7.6 is out, not much changes to the core game, but 10 brand new Xmas themed levels.
  • added new SVG icons for Pingus
  • added 10 new xmas themed levels
  • added ability to sort levelsets by priority
Download: http://pingus.seul.org

Tuesday, December 13, 2011

Landscape Generator

Quick&Dirty Landscape Generator using HTML Canvas:



Source: https://github.com/Grumbel/landscape

Friday, December 02, 2011

Some fun with gamma and invert

Take an image and invert every other pixel. The result you get will look like this:



Or up close like this:

Zooming in and out in the browser or scaling the image will reveal the image, as most image applications these days handle gamma incorrectly, they assume the image is encoded as a linear range, while it's actually encoded with a gamma value applied to it, that would need to be unapplied before doing the blending performed when scaling the image. This is also the reason why this little trick can't be pulled off in Gimp directly, as the build in invert doesn't handle gamma correctly either.

Little nice side effect: You can use images like this to see if the gamma on your monitor is properly calibrated, if the image doesn't look like a flat gray area, then your gamma is off.

Source Code: ditherinv.cpp

PS: Yes, this is totally not news, just fun to toy around with to see how different image applications react, read that Slashdot story for more background information.

Google Exact String Search

Since a few weeks ago the old trick to get Google to search for an exact phrases no longer works, namely putting the word in quotes or adding a + in front of it, Google will auto-correct all search terms. The functionality is however still available: