Miscellaneous experimental stuff

These are the experimental things that are not available for download. The reason for that is that these things are either really small or way too badly coded for me to bother to wrap them up for download.

Graphic effect testing

I was testing numerous graphic effects here. The scene itself is very simple with some cubes and two lights. I implemented quite a few modern graphic effects using OpenGL Shading Language but in the end it is very difficult to point out different effects because it's got everything. Also the coding is very very messy which is why I decided not to release the source codes.

The existing effects are: per-pixel lighting, stencil shadow volume shadows, normal mapping, parallax mapping, phong highlighting, rim lighting, dynamic depth of field, bloom and noise.

The first screenshot shows a transition effect that can be triggered anytime. It is the only screenshot that features noise. Pretty much the only thing the second screenshot shows well is depth of field. The third screenshot shows normal and parallax mapping that is applied on the textures.

image image image


This program simulates some sort of spirograph. The simulation basically consists of rotating circles and some other rotating circles and arms attached to those. Looking at the images below probably gives a better idea. As the program is quite small and simple I don't feel like using effort to release it.

image image image

Gravity simulator

This program simulates gravity on a two dimensional plane. There are particles that are affected by the gravity of the other particles and as they move they draw a trail behind them. The images below show only the end result of the simulations. The particles start pretty close to the middle of the screen and eventually fly beyond the window borders. The program uses SDL for rendering and has only 185 lines of code.

image image

Langton's ant

This is a simple execution of Langton's ant. It is possible to create different extensions to multiple colors with the same program. The first image shows the original Langton's ant and the second one is LRRRRRLLR. The program uses SDL for rendering and has only 136 lines of code.

image image