Beginner Programmer Seeks Creative Ideas for Graphics Project

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
3 replies · 3K views
Ali Inam
Messages
99
Reaction score
0
I am just a beginner of programming and till now I have done much simple programming, just like printing multiplication tables or different sequences of (*) using FOR Loop.

Now, last week, my teacher introduced us to the new graphics mode of the Turbo C, and at the end of a lesson, she asked to to make a satisfactory program by next wednesday which must include different graphics. The graphics which I have learned so far is to make colourful circles, lines or ellipses.

Now I need some advice because I can't really figure out what I really should make. First I thought about simple circles and lines, then I realized that is would be too simple.

Any help please, or simple ideas. I am just a beginner !

Thanks a lot !
o:)
 
Physics news on Phys.org
Reads like a post from the past.

Most likely graphic modes are not of Turbo C, but of graphic card.

Argh, I have a lot of sources with nice examples of what can be done, but they won't run under Windows.

Simple idea - try to draw a plot of an interesting function, like abs(cos(k*x)*exp(-x^2)), with both axes and distance marks visible.
 
Borek said:
Reads like a post from the past.

Most likely graphic modes are not of Turbo C, but of graphic card.

Argh, I have a lot of sources with nice examples of what can be done, but they won't run under Windows.

Simple idea - try to draw a plot of an interesting function, like abs(cos(k*x)*exp(-x^2)), with both axes and distance marks visible.

Yes it does. Turbo-c ( forget the name.. BGI borland graphics interface?).. had a nice library that would iterate the support graphics modes of your video card.

I remember there was some sort of quasi standard numerical codes for the modes.. like 0 - 16 for the vga cards, and 0 - 255 for the super vga??

just reminiscing really. This does take me back to when Borland ruled.
 
You don't want to get me started on bgi and VGA programming. BGI worked for both Turbo C and Turbo Pascal, but if you really wanted to do something interesting you had to directly program VGA card. VGA card standard graphic modes were not better than 320*200*256 (13h) and 640*480*16, although with some tweaking (so called mode x for 256 colors) it was able to display better ones (but only if it was a full VGA, with 256 kB of video memory, earlier and cheaper models could have only 64 or 128 kB). Super VGA was never a standard, each maker had its own version of graphic modes, that got sorted out with VESA standard.

Good old times :smile: I still have many of my Pascal programs doing fancy things on VGA card, just no computer to play with them :cry: My mode x voxel terrain demo made even its way to Pascal SWAG.