Italian | English |
This is a series of small c program with assembler parts, that I made to test some "demo effects".
The source code is optimized and without comments, but the programs are really easy and understend
how they work shouldn't be a big problem. All this programs were made on a 486DX 33, with DOS operating
system, but they can run without problem on a Pentium in a Windows 95/98 terminal windows.
If you want to download all the provaxx series click
here.
prova01 | I tried to make a "waving flag" effect, but I get something like an "underwater deformation" effect... not bad anyway... | |
prova02 | The famous writing that spins around a tube that there is in many mini-demo, I thinked it was difficult to code, but once I understand the trick it was easy to do, the alghoritm is similar to the previous one. | |
prova03 | This is a variation of the above program, I tried to give a deepness effect, but I had to do it in black and white because all the 256 colors are not enough to shade a color image. | |
prova04 | This is another famous effect: the fire. The algoritm is rather simple, and you can modify it to get variation in the flames structures. The difficult thing was making it run to a good speed, because it needs a lots of operation. | |
prova05 | I tried a plasma effect putting pixel in strange order and rotating palette, but the result was poor... | |
prova06 | After 2D I tried 3D! This is the simplest 3d effect: points moving and rotating in a three dimensional space, I added an effect to darken the far points. | |
prova07 | This isn't a demo effect but I needed it to develop the next program. This program draws wat Fractint calls "Plasma Fractal" or wat photoshop calls "Clouds", the main difference is that my program draws tileable images. | |
prova08 | Flaming rotating tube (seen from the inside). A good effect that seems complex, but with a trick you get a simple and fast code. | |
prova09 | Deformed rotozoom, here there are no tricks, the code is complex and slow. I had to make a sheet full of calcs to get the simplified expression I was looking for. There are still some problem when the image comes too close. | |
prova10 | Evoluted example of 3D effect: a flat shaded polygon, the 3d engine is not complete, there is no sorting of the faces on the Z axis and no clipping on screen borders. | |
prova11 | This is like before, but the shading is gouraud. The Z-buffer and the clipping are still missing. |
Fun2 | Simple programs thet draws mathematical graphs, it's fast and easy to use. The interesting portion of code is where the input function is interpreted. | |
Astro | A game (not ended) developed usig a graphic library (SVGACC), that make me able to use sprites easily. It is a battle between two little spaceships moved by two players. If you want to compile the source you have to get the library, to play you don't need it. | |
Plat | This had to be a videogame, but I stopped working at it. All you can do is drive a kind of car around the screen. The graphic engine (hardware scrolling and sprite manipulation) is in assemler, the other things are in C. |
Mouse | This let you use the mouse with DOS programs, in text or graphic mode, all bios functions are present. |
Flat2 | Some function to draw a flat polygon in a buffer, with clipping. In short words it's a program of 342 lines that does nothig more that drawing a triangle :-) |
Demo | This is the beginning part of a full demo that was never completed, there is only the introduction, with a star effect (something like the windows screensaver) and a "pixellating gravitational bumping writings" effect. | |
Fire | A complete mini-demo (the executable is only 1.6 Kb), with some writings and the famous fire effect. | |
Palette | Cute program, only 116 bytes, it get resident in memory and changes the lightness of the characters on the screen, very good to make jokes to friends :-). It runs on Windows if the MS-DOS windows is at full screen. | |
Plasma | Test of a simple and very fast plasma effect. | |
Sigdemo | Another complete mini-demo (about 4Kb) with a true plasma and a scrolling slogan. |
Agenda | Notebook management, it has nice features, like the costraints on dates. |
7colors has its own page, click here!
Back to home page | Write me |