Allegro.cc
Projects
Action252
Adventure22
Arcade216
Board Games30
Demos24
Emulators10
Other68
Puzzle139
Role Playing40
Sports25
Strategy58
Utilities46
Resource Directory
Code Gallery3
Compilers12
Help & Documents13
Libraries63
Media2
Tools8
IOTD: The Tube
The Tube
The Tube, by Johan Halmén

This is a simple demo I did. An image is drawn along a Bezier path. I kind of got hypnotized by the tube while watching it evolve and had this idea: the image could scroll to the left while the tip of the tube would write text using a script type font. We have this huge 40 inch monitor (640x480) at school and I thought of creating something visually appealing for it. If someone's interested in the code, I'll put it here (150 lines).
That is seriously neat. what if you rotated the image slowly while it travels the bezier? - jhuuskon
Thought of that. The problem is that the shading effect comes from the image I blit. If I rotate it, the light direction rotates, too. I should use an image with only a texture and a separate alpha channel. First I would rotate, then apply the alpha channel as a shader, then blit to the screen. - Johan Halmén
There was something like this in the Organic Art screensaver from the Win 98 Plus! pack... except that it had multiple objects spinning around, and the screen was mirrored, I think. Anyway - that's pretty cool! You should make a screensaver out of it. - mystiscool
looks like a sticks-to-snakes transformation middle frame - Jim Sinha
This section is only available to registered Allegro.cc members.



The Gallery | Add your own image!
Poll
Is grammer and spelling important?
No weigh! 14.47
-
Absilootly, Yes. 62.63
-
I'm a looser with no onion. 22.90
-