June 2012

Warning! Some information on this page is older than 6 years now. I keep it for reference, but it probably doesn't reflect my current knowledge and beliefs.

# 4k Executable Graphics with Fractal

Fri
15
Jun 2012

There was a competition announced on forum.warsztat.gd in making a 4k executable graphics. In case you don't know what is it: It is a category well known on demoscene where you have to write a program - Windows executable in assembler, C, C++, Java, HTML or any other language, that fits into 4 KB size limit and generates a static, nice looking image. Obviously there is no way to store a bitmap inside such size, so the graphics must be generated procedurally. For list best prods in this category, see this search query on pouet.net.

I participated in this competition and here is my entry with source code: gfx_4k_Reg.zip. EXE file itself has 1259 bytes. Archive has password "demoscene" (needed because server of my hosting company rejects archives containing unusual EXE files like this, thinking it is a virus :)

Not very impressive, but keep in mind that I coded it in about 2-3 hours, with little previous experience in this kind of coding. If you are interested in how such program is made, I used:

Comments | #rendering #demoscene Share

# Infrared Photography

Sun
03
Jun 2012

I'd like to share results of my first experiments with infrared photography. Infrared is the frequency of light invisible to human eyes. Cameras also shouldn't register it, so manufacturers put special filters to block these frequencies. Some of them are better, some are worse - the latter make a camera better candidate for IR photohraphy.

To take an infrared photo, one needs a special filter (see this category on Allegro.pl). Such filter blocks all visible light, so it looks totally opaque black. When using it, only infrared light enters the camera. Some additional issues:

After transferring a photo straight from the camera, it looks totally red.

But after correcting while balance in some application, it turns out that other channels also register some of the IR light, so it's not totally black and white - we can see some colors and achieve interesting effects, especially after applying some additional filters in a graphics program (like Channel Mixer command).

An image registered in infrared has some interesting properties:

You can find more of my infrared photos in gallery: Infrared @ Picasa Web.

Comments | #infrared #photography #optics Share

[Download] [Dropbox] [pub] [Mirror] [Privacy policy]
Copyright © 2004-2024