Graphics Sound in C Plus Plus

From codeuu,source code

Jump to: navigation, search
A File Manager with GUI in DOS

This code is to view file & folder from drive..

AA Graphical watch

This programs get your DOS time and show in graphical screen.

A Small Virtual 3D Solar System

Hello Friends!! I have made a small virtual 3D solar system.

A Simple Calculator with GUI

Hello Friends!!

Air India Reservation

This Program generalizes how Reservation is done. It comprises of graphics and sound effects. Even mouse is used in it. It will be great to present this one as a project. Enjoy.

a Mind Reader

This is a c program (Simple But strong).It reads number in your mind, by just showing you some number of tables.

AWESOME_ARTSHOP

' ARTSHOP ' which's entirely designed & built in C,where it's possible to draw your own free hand drawing with multiple ecstatic colors with options like line, rectangle ,circle ,oval,paint brush & etc... It also provides room to save, open, and delete the picture which you created, from CD, Hard Drive, Floppy and from any Port. This software is a good alternative for other dos based Paintshop softwares.

animated lines

The Turbo C++ v3.0 presents an example of graphics capabilities, the program is called bgidemo.c. The example is divided into functions; so I took one of these functions added some animation to it, added the neccary functions from the original C program that make it work.

a simple program on cohen sutherland line clipping algorithm

it clips a line that lies on the viewport.

Animated PackMan Demo

This is a simple animation demo. It uses graphics created with my binary graphics editor previously posted. It also contains useful objects such as a windows color and graphics object.

Analog Clock

Displays your system time in the analog clock fashion.

Asteroid Animation

I mistakenly forgot to add one of the header files to this .zip file (I really need to pay more attention to this). So, here's the upload again with the header file included. Sorry about that.

A 1derful clock

It is a dos clock I have made.

a 1derful image insertor

inserts any number of images present in a directory into the HTML.

Angular Flash

To show some Graphical Display using sin & cos functions.

A 1derful paint express

This Is a cool tool! It is like paint and looks

a 1derful graph utility

It makes and saves pie charts and bar charts

Animation Ship

Hey Just Shows How To Make A Animation With A Windows MetaFile.

Analog-Clock.

simply Displays an Analog Clock

ALL IN ONE (BGI Graphics Package)

This is all the code you need for making any kind of graphics in C/C++. Check how I have mixed the Text mode, Graphics mode, and Windows mode together. Do you know you can switch between different modes in your program?

Automatically Switch Images using a High-Resolution Timer (If Available)

Switches images inserted into a pre-defined list using the new high-resolution (64 bit) timer. If this timer is not available on your machine (which is not very likely), it automatically switches to the old method of timing (32 bit, timeGetTime()). You can also choose how long you want the image to show.

A 'Simon' game using bitblt, back buffering. Contains sounds.

This is my version of the 'Simon' game, with great graphics,using gdi32 ( bitblt ), and with sounds using PlaySound. You have to repeat the sequence the computer creates, though it gets harder and harder as you advance. Great tutorial for someone wanting to learn how to use graphics, back buffering, and sound playing.

A moving starfield

A moving starfield using mfc controlled by a timer. Demonstrate the use of device contexts, pens, and brushes. You canincrease the number of stars as you wish.

A Gradient Generator

Lets you choose two colors and creates a gradient. Demonstrates the use of device contexts, pens, color dialogs, and color blending.

Aakruti : The Sprite Editor

Create sprites ( like Mario, Prince etc ) for your games and make them dance and frolic around the screen. Also provided a graphics library for Mode13h library by Pri$m. So go ahead create your games.

A Drawing program- much like Widnows Paint

It draws simple objects like rectangles and ellipses. Looks a lot like Paint in the Windows accessories.PLEASE VOTE. I made that program following the instructions of a very good book on MFC programming.

Athens 2004 Tribute

Ive made an algorithm to display the Olympic Rings

A-BRUSH

the program tells about mouse interfacing and how

Animated decimal to roman converter

Gives you a roman equivalent string for a given decimal number..Maximum that you can give is 3000.

A TIC TAC TOE AI GAME

It is a simple TIC TAC TOE Game which is implemented in Artificial Intelligence under Graphics Mode.

Analog Clock in C - Example of Stand-Alone Graphics Application

Analog Clock - using system clock.

A colourful mouse pointer in dos

Studying this code you can make a colourful mouse pointer in dos mode.

An interactive system timer in dos

This digital clock indictes your system time.

A Matrix Screensaver in DOS

I hope that you like this interactive marix screen saver...

A very simple BMP (bitmap) loader

This little code shows you how easy it is to load a bitmap into your window!

A_Use mouse in ur dos applications_A

This tutorial helps newbie c/c++ programmers to

anaclock

gives the current time usin analog clock graphics

A Function Plotter using C Graphics

A very versatile, fully customizable graph drawing

burning candle

just for beginners to know about graphics

basic drawing demo

Allows normal drawing and creating lines by holding the left mouse button down. Demostates the use of pens and drawing lines. Compile with G++, all the source code was written using crimson editor and not an IDE.

BitBlt Slideshow

This is my first C++ program. It just loads 4 bitmaps, bitblts them to the screen once a second, and cycles through them twice with a loop. Not very exciting, but shows how to call a function and how to use bitblt.

Bitmap to 3D Mesh Converter

I wanted a way to use a 2D image and create a 3d Mesh from it. This code loads a bitmap then converts it to the 3DS ASC format that’s compatible with most 3D modeling programs.

bithday gift

its a birthday gift,

Blowtorch paint program II

This is a re-submission of a program I uploaded earlier. I recently noticed that I had used the wrong .zip file. There wasn't anything in the file, except a .txt file and a couple bitmaps (and a .exe file, but that got deleted). So I've uploaded another file, and hopefully, I got everything right this time. I apologize to anyone who downloaded the file for the inconvenience.

Bezier Curves

These are two programs that use Bezier curves. Bezier curves are simply lines, with one or more control points that "attract" the line toward it. One is a Bezier curve in 2D, the other is a Bezier surface in 3D. Both allow you to select control points and move them around in the window, which affects the shape of the curve.

Bitmap Animation Viewer

This program loads bitmaps as frames of animations. Then, you can play back the frames. The program lets you add frames, clear all the frames, play the animation, and stop the animation. You can also adjust the speed at which the animation is played. Its just a simple tool I wrote in a couple hours that I use to view the animations I intend to use in some of my other programs. Its also a good learning tool, since I've got a menu, as well as buttons and a dialog box. The program works, but there are currently very few options.

Bouncing Ball

The program makes a ball bounce randomly on screen with a small collision sound when it strikes the edges.The code can be used in other gaming applications.

Bitmap Viewer

Bitmap viewer, good way to learn how to draw things

Beginner 3D BGI

Find out the strategy to making 3D graphics.

Birthday Screensaver

Draws a cool little screensaver thingymajig with letters bouncing off of walls and stuff. Sorry I can't be more descriptive.

Back Buffer

Here is an example of how to use back-buffer device contexts for on-screen animation; the basis for all graphical games

Bitmap Loading

Shows how to load bitmaps of any size and stretch them onto a window.

BMP show simple program

Simple understandable fuction to show the 640x480x16 color piture.it is helpfull function to make the graphics program.

barrysLEDChars

This is an example of creating LED like characters found on Railway Platform Indicators , there are 2 clock one Digital and another analog , the method can be used to develop a World Clock

Buffer And Mask Example

To Show How To Do A Simple Double Buffer And Mask Images So The Backgroud Of The Masked Image Is Transparent.

basics of graphics

source for basics of grapics in c++.putpixel demonstration.nice to see.

Blending In OpenGL

This is cool it makes things look like there

Bidirectional Interlacing

lets you hide an image inside another, only visible in internet explorer when you highlight the image. shows how to create translucent layers, get the average color of a picture and how to extract the RGB values from an int color as well as some other stuff..

Baps_gra

A fine Graphics Program.

Bitmap Fading

This example shows how to fade one bitmap into another. Shows how to use GetDIBits for fast image manipulation. Also features images of Anna Kournikova :O).

Basic 2D Transformation with Simulation

This program shows you the basic transformation such as Translation, Rotation, Scaling, Reflection and Shearing. All these transformation are simulated with a beautiful animation

Blitz-Ball-The bouncing ball demo

This is a program which demonstrates the bouncing of ball in zero-gravity environment.Uses graphics.h and has decent graphics and cool sound.

Bangle Ball Screensaver

My code produces a scrensaver prototype, so that u can use it as a screen saver.

BMP as background

This little piece of code loads a BMP to the background of your window. It is very very easy!

Bone/Skin tutorial

illustrates the use of bones and skin in 3d rendering.

Barycentric coordinate computation

This code computes the barycentric coordinates of a 2d point inside a 2d triangle using the area interpretation of barycentric coordinates and Heron's triangle area formula.

Bitmap Font

This is a demo of a bitmap font that uses OpenGL and is written in C++. It requires the gd library from boutell.com. There's a demo at http://www.coolgroups.com/font/.

Bitmap Loader - Intermediate

This is another bitmap loader of me, this time more advanced :-). The user can now load the bitmap with a nice menu and the program is very fast.

Clock by Himanshu

Time in c++

Convert Magic

This is an image converter for BMP, GIF, JPEG, PNG, and TIFF. There's a demo at http://www.coolgroups.com/cm/.

Color Mixer

A small Windows program that creates colors mixes them and displays them on a window

coin toss

it is a graphics orented programme which creates an animation of atossing coin and randomly gives one answer head or tail. it can be used before programme codes and will give a very good impression on the veiwer.

circular queu in graphics &mouse

nb

ANSI & ASCII color codes

helps users understand how to use terminal color codes as well as how to use there escape seq's and shows all the color's and there matching code for foreground and background.

clock

draw clock

Calculator in C plus plus (Using graphics.h)

Its An Calculator Application Written in C++

OpenGL 3d Shape Spinner with Large "Room"

This program spins the objects around and the viewer is in a huge cube. There is a small cube in the center which also spins. There are light and fog options, and the light and fog turned out fairly well.

COMPUTER GRAPHICS

DDA LINE ALGORITHM,BRESENHAM'S LINE ALGORITHM,BRESENHAM'S CIRCLE ALGORITHM,DRAWING CIRCLE TRIGONOMETRIC METHOD,SHEARING,TRANSLATION,SCALING,ROTATION ABOUT AN ORIGIN AND ANY POINT,BEZIER CURVE NTH ORDER ETC.

OpenGL Textures on a Sphere

This code spins a sphere coated with a texture. It also has some other cool things added to it, and you can "spin" the sphere with your mouse drag. When you link, put in the projects -> settings -> link box opengl32.lib glu32.lib glut32.lib to make this work.

curves

jus to find out curves of with different input...

DRAW -3D

A cool application that converts anything drawn in 2-D to 3-D.COOOOOOOl isn't it (see screenshot)

Programming 3D Graphics using C/C plus plus - Tutorial 2

This contains tutorial(s) for 3D Graphics Programming using C/C++. This is tutorial # 2 of 9 tutorials

Programming 3D Graphics using C/C plus plus - Tutorial 3

This contains tutorial(s) for 3D Graphics Programming using C/C++. This is tutorial # 3 of 9 tutorials

Programming 3D Graphics using C/C plus plus - Tutorial 4

This contains tutorial(s) for 3D Graphics Programming using C/C++. This is tutorial # 4 of 9 tutorials

Programming 3D Graphics using C/C plus plus - Tutorial 5

This contains tutorial(s) for 3D Graphics Programming using C/C++. This is tutorial # 5 of 9 tutorials

Programming 3D Graphics using C/C plus plus - Tutorial 6

This contains tutorial(s) for 3D Graphics Programming using C/C++. This is tutorial # 6 of 9 tutorials

Programming 3D Graphics using C/C plus plus - Tutorial 7

This contains tutorial(s) for 3D Graphics Programming using C/C++. This is tutorial # 7 of 9 tutorials

Programming 3D Graphics using C/C plus plus - Tutorial 8

This contains tutorial(s) for 3D Graphics Programming using C/C++. This is tutorial # 8 of 9 tutorials

Programming 3D Graphics using C/C plus plus - Tutorial 9

This contains tutorial(s) for 3D Graphics Programming using C/C++. This is tutorial # 9 of 9 tutorials

Programming 3D Graphics using C/C plus plus - Tutorial 1

This contains tutorial(s) for 3D Graphics Programming using C/C++. This is tutorial # 1 of 9 tutorials

Programming 3D Graphics using C/C plus plus - Full Tutorial

This contains all 9 tutorials of 3D Graphics Programming using C/C++

High resolution BGI graphics driver

This is a must have for all C++ programmers using DOS or Windows. This has a BGI driver to load 256 color resolution as high as 1280 X 1024 on most of the graphics adapters. Please visit my website www.ankitrohatgi.com and fill out the report form informing me about any incompatibility(should not be!). <>!!

Window Example

This is a Window Example in C++. It is identical to a Window in Windows Operating System. This is Very Easy to Use in C++ Graphics. This is written with the Standard C++ Function libraries. And the Great Thing is Reusable to any of your Program in C++. ie., it is Global. * The Window Size is to be Modified in my Next Version.

Window Example with Additional Global Progress Bar and Command Button.

This is a Program to Explain how to Bring the Same Window that we can see in Window. Normally People will try to bring the Window in VC++ in Windows mode. But this is a Different One. This Window Appears in DOS. This will typically Depict a Wndow in Windows. Its very easy and it uses only the Basic Functions in the Graphics.h Header File in C++. Also a Progress Bar and Command Button is also Given for Reference. You may Include the Command Button and Progress Bar anywhere in your Program that uses Graphics. Mainly it can be used to attract users in DOS with the GUI type of Environment. I've neatly Documented this Program. If you have any doubt Please Contact me at lvramanan@yahoo.com. Please Vote me If you like this Code.

T1CSound ActiveX system speaker

T1CSound - Simple ActiveX component for sound generation using system speaker (step-by-step info: http://www.tonec.com/download1.html)

Avatar

A person walking simulation, in OpenGL using GLUT.

AVI file sound player

Plays the sound stream out of an AVI file on Windows or Linux - does not use the Windows mmio functions. Demonstrates the use of Windows waveOut functions and OSS on Linux.

A 3d Illusion :) DOS

This is a pretty neat effect. You can rotate it on its X and Y axis and it looks like 3d. By holding down the Up or Down button you can see it so to speack animated. ESC EXITS the whole program. By Pressing enter then moving the up or down button again u can take the whole screen and paste it on the screen and still move around it.

a box

it just show the diffrent color of box and do color cycling

a gradient

a nice circular and linear gradient

A rotating Wheel

A very nice demo give you the illustration of rotating wheel while actually it is not rotating all fun is of color cycling

A clock in C

The program written in C++ is a wonderful utility that displays the clock. It would be great to explore the code for learning new things for a beginner.

A 3D CUBE MAGIC open gl

Cube Game ver 1.5 (opengl)

A 2player game (with simple AI)

This little game was done by me using win32 GDI.

Artificial Life/Evolution Simulator. OpenGL, 3D world environment.

Pretty cool 3D lower level AI simulator.

A 3DS Explode

It's an OpenGL demo, that demonstrates 3ds object loading, exploding and nice motion blur.

a 3d_rotation

It rotates a rectangle along z-axis

ArtPad

This is a simple program for saving and loading images using c. This was a great programming challenge because im a beginner

AVICQ project

AVICQ is a ICQ like P2P communicator with duplex video and auido.

Animated 3D Sphere - Splash Screen

Last semister, I finished my graphics Lab and thought of trying out 3D transformations and finally ended up with this. Check out the animation. It looks really cool. Maybe you can use this code in your apps as a splash screen or something. Please leave feedback.

Advanced Menu Designer v1.2

Designed for developing GUI's in C language.The program can be easily modified to C++.I have introduced building of command buttons in this version.So the code is reuasable.

array operation

acctually this code is for those who want to know how to use arrow key graphic and sound. how to jump from graphic mode to text and again to graphic mode.

Audio Tackler (AUDIO MIXER)

PERFORM RUNTIME AUDIO MIXING USING AUDIO TACKLER :

A 3d-space

This Program Simulates the 3d space travel(going in to the space)

ANALOG CLOCK IN C

THE CLOCK WILL TAKE THE TIME FROM UR PC-BIOS AND DISPLAY THE CURRENT TIME IN THE ANALOG GRAPHICS FORMAT.

a_numberpuzzle in c

This is number puzzle in which the elements on the screen must be sorted in ascending order(from top to bottom) using the arrow keys.

A Circle 2003

THE PURPOSE OF THIS CODE IS SIMPLY TO SHOW HOW TO DRAW A CIRCLE, AND THE CIRCLE ENLARGE PRESSING A KEY, AND DIMINISH PRESSING ANOTHER KEY. FEEL FREE TO POST YOUR COMMENTS.

aviplayer

This program can be used to play only avi files.

AlphBlend2

Shows AlphaBlend effect on Windows 2000 and Windows Xp --- !!! WITH ALL FILES v2

Aaaaabsolute Drawing Kit 1.0

A complete paint program for DOS.Innovative saving of files, fill styles etc.

Ademo: change pointer

Example program how to change graphics pointer

All graphics functions.....

well..here is a huge package which contains around 6 programs and these programs displays all the graphics functions needed to build a nice looking GUI..the only thing u need is a lil' creativity..and i'm sure u must b having it ina fair amt..else u wudn't b here..nevermind..check this out!

Awesome Screen Shot System For OpenGL And Direct3D

This is an awesome screen shot system. It also comes with an article describing it.This system can handle Low Resolution screen shots (Normal screen shots), High Resolution screen shots (Explain in a little), and video capture (Explain in a little). The High Resolution screen shots are used for magazines, color plates in books, etc because they are massive. A Low resolution screen shot that 800x600 will turn out to be 2400x1800! The video capture does just what it says, it will create a video while you play. Not only does this do low resoltion screen shots, high resolution screen shots, and video capture, it also does watermarks! Look at the screen shot! It optional, but you can specify a watermark and it will be applied to the screen shot. The internet is kind of slim on these topics so I present them to you. I hope you enjoy! And please vote if you like it!!

A 3-D Cyclinder (OpenGL Demo )

This is simple OpenGL Demo which rotates a cyclinder in 3-d space.

A 3-D Cone (OpenGL Demo)

This is a OpenGL demo which draws a cone and rotates it in 3-d space

A 3-D Spring (OpenGL Demo)

This is a OpenGL demo which draws a spring like structure and rotates it in 3-d space

A 3-D Ribbon (OpenGL Demo)

This is a OpenGL demo which rotates a ribbon in 3-d Space

A Solay-System simulation( OpenGL demo)

This is a OpenGL demo which simulates solar-system with realtime lighting effects using Perspective Projections

A simple Solar-System Demo

This is a OpenGL demo which simulates solar system using Orthographic projections.

A 3-D Triangle(OpenGL Demo)

This is a OpenGL demo which rotates a triangle in 3-d space.

TicTacToe & Moving PacMan

This program is a Pac-Man, Tic-Tac-Toe combination. It's a fun program that shows how to animate in Code Warrior. Press escape to exit out of the output screen. Use the arrow keys in pac-man to move him around. Use the arrow keys in tic-tac-toe to move the selector square across the board, and the "x" and "o" keys to place an "X" or an "o" in that square. If you like this program, vote for it. If there are any problems or suggestions, please tell me.

Analog Clock

A colorful Analog Clock.

Simple paintbrush

This is a very simple paint utility. its works using arrow keys. mouse use is not added for simplicity. shows how to paint and delete in graphics mode

Explosion

This is an animation. It shows fire crackers.

bars3D

This code shows how to initalize graphics driver and to use its basic functions .

Calender

Displays calender of the current month(dependent on the system date).Full mouse interface is provided to change month/year.The program gives a 3D look to the buttons and the whole application in general(partly like Windows.)

CapturePicture

This code uses Video for Windows to capture single frames from a system video source in a specified time interval(in seconds). The Frames are saved as Bitmaps or as one AVI File. Don't forget: You need a videodevice for this to work!

MFC dialog class to select an icon

This class provides the same functionality as the dialog Windows Explorer uses to change the icon for a shortcut. The actual appearance of the dialog is based on the new style for this dialog as used in Internet Explorer 4. The main difference between the standard Windows "Choose Icon" dialog and the new style is that a larger list box is used to display the available icons. The zip file contains the CIconDialog source code and also includes a simple MFC dialog based demonstration application.

CD Player (Updated) v2.0

Plays an Audio CD with a GUI.

Cat draw

This program draws a nice cat in the screen. You can use it in your programs. If you like this "fucntion" please vote.

CalenderFromMe

Thats what u wanted from ever.Thats the thing that will take u in ur past and in ur future.

Particle Engine

This program shows how a 2D particle engine works. It's not the best code but it gets the job done. I know it could be greatly optimized but I just needed the code like this.

cpp_ms

This small program depicts a piano(exactly ) using sound function at different frequencies , you can also save a key stroke sequence and play it like continuous music

Graphics Library

Yet another graphics library. Found at: http://www.cprogramming.com/source.html

Open GL .dlls

This is not source code--it is the .dll's for running OpenGL programs on your computer. If you are running Windows 95/98/NT... you can download these libraries and unzip them into your windows/system folder

classes for creating GUI for DOS software

With these classes you can create good interfaces for DOS which

Console Graphics Functions Library for Microsoft VC plus plus and Borland C plus plus

Set background and foreground color, set cursor position, clear screen, make the program pause for a certain amount of time, clear a line out, draw lines, draw rectangle, draw circle, draw pyramid, fill up a shape with the given styles.

stars2.cpp

ship moves through star field

Ys Tech CursorMaker v2.02

As the name implies you can design mouse pointers of your own. These pointers can be used in any dos based program and with extra ordinary ease if you are using TC 3.0 (i wrote all the code for TC). The interface is also very user friendly. It is just like any paint program. There are help bubbles to help you too. You can save and retrieve your designs in .icn files (Samples included). The rest of the features you can discover on your own.

Moire Pattern

It displays a Moire Pattern on the screen.

LHReal v2.1

(Version 2.2 is uploaded, you can find it under complete applications)

Visual C plus plus , Window Creation, Line Drawing/Basic Win32 Game Programming, Looping Therory

The purpose of this is to show various Win32 Methods and some Theory. It creates a Win32 Extended class, it then Creates and Extended Window, it then starts to show that basics of Win32 Game Programming, that is an infinite loop. This shows a good theory of how to initialize variables in game programming. At first my approach was to initialize the variables in the loop and use a BOOL to say it was the first time in the loop, then on my third look at how the code was working I found the fastest way to set the first time variables, outside the loop, rather than having the computer check an if statement was true, this was the theory. This programme starts at a random position (the initializing theory), (in the loop) draws a line to a new random position, then sets the end of the line to the beginning of the new one (this is where the loop ends).

Fire Effect

A simple fire like effect is drawn onto the screen.

cube & pyramid 3D

This program will draw a 3D cube or 3D pyramid

Transformation,Scaling,Shearing,Rotating Any Image

THis program does some simple graphics transformation in 2D. This does shearing , scaling , translating and scaling. VEry easy to understand

ConsoleAnimation

repeatedly draws 3 differerent 'frames' of a man and moves them at a regular interval to the right of the display. Basicaly it makes him walk.

CD Player

Play's music CD's. This can be compiled on Linux and Windows (as far as I know) using gcc, or devc++. Also SDL must be installed to be able to compile. (www.libsdl.org)

circleeffect

a nice circle effect demo with color cycling

Cardioide

Ense?arze a graficar funciones

A Sonique Visual Plugin

Hi Everyone, I'm Very New At This, I'm Usually Found In The VB Section. This Is My Very FIRST C++

Click Me

Just For Users Enjoyment.

clock.cpp

hey guys,

Titanic

Watch Out!! Here comes TITANIC on ur pc.This program created using c++ has animation as well as sound effects of the ALL TIME SHIP TITANIC!!!!!!

Changing Text Color for Visual C plus plus

My Code was written on Visual C++ 6.0 and it Changes the Color of the text and background in a common dos window. Much like how the text based RPG games do it. It should work on all compilers.

Cool Animation

Cool 'n' Easy animation with arc ... best for beginers ... don't forget to see

Cpaint1.1

A Picture creater in 640*480 Graphics Mode

Computing 3D Normals Article

Someone at school asked me about normals and instead of trying to explain the functions to them I just made this article. It explains what some uses are for normals and how to compute them. This might help someone out thats why I decided to upload it. (Please note: Ignore the plane structure)

C/C plus plus Cursor maker

this prog is ment to help programmers who

chess tablue

chess

command Button Class

this class will Draw command button on screen

CBloobCtrl

This is a control derrived from MFC's CWnd class... it's more or less a worthless control... it doesn't do much but make cool little "bloobs" move around in the control and melts them together. Just a neat little effect to add to your MFC programs to catch someone's attention.

Cool BitBlt Example

This is a cool BitBlt example with reusable classes and is great for beginners to learn from.I have only been coding for a month. So please give me feedback.

Graphics

Displays amazing graphics on ur screen with sound like flowing water

Combining text-drawing options of DrawText() in MFC

Do you sufficiently know DrawText function. This tutorial teachs DrawText's different angles that have neglected.

Calculator(3D) in C Language

To Make 3D Graphics in C.

window shaping example

Example on how to shape your form to fit a the shape of an image.

A 3D Plugin for winamp

It's a 3d Bar winamp Plugin

Olympics 2000

Hey the olympic fever has hit planet source code too.Check out this code

CGraphicButton class source code

The CGraphicButton class is derived from CWnd and encapsulates a Windows button control. The CGraphicButton class allows use of a combination of a bitmap and text on the face of your button. The class allows the option of either a bitmap-left or a text-left placement.,

rotate bitmaps

rotate a CBitmap and draw it to the screen (AA optional)

SkinSystem ver 1.0

This code work with a JPEG, GIF, WMF, BMP skin picture. For Ex. Winamp UI or Freeamp UI etc

CG

nothing special

CG1

nothing special

CAR 3-D

Wow A 3D car created using borland c++.You are able to view the car from any angle as it rotates around every possible angle and axis.Please Vote For This Code.

Morphyx MP3 Encoder

An MP3 encoder using a GUI. Very simple, easy-to-use program that gives you the option of using two encoding engines. The GUI was written in Visual Basic, but the encoder was written in C. Enjoy!

Click 'n' Paint v1

This Program is similar to windows paintbrush

Click 'n' Paint v2

This is the second version of Click 'n' Paint.

Audio for TC

Bored of the same old dull Turbo C++ ?? Now add cool self compiled audio files to it !!! It consists of a composer and an include file with the function to add it to your programmes. So go ahead - download this and add some life to your programmes. It's probably easier to use than doing 138*45 !! Please vote for this. Visit my site at www.ankitrohatgi.com

computer graphics Codes

some programs of computer graphics

fading colors!!! really cool looking and also really easy to understand (no bgi)

this code sets the screen into VGA mode and fades the screen different colors by pressing certin keys!!!! this code is really easy to understand even for a c++ newbie also this code is very well commented just incase if theres something that you dont understand =]

Imager v3.1 - paint utility for C plus plus

Cool GUI paint utility for C++ use. You can use the software to make and edit the Images and the add them to your programs. It even loads 16-color low resol ution BMP images, so you can transform them into this format and load em to your programs.

Independence Day(see screenshot)

This program has almost all the basic c++ graphics functions and also the independence day tune created using sound function. It will act as a great tutorial for those who want to learn graphics in c++.Please vote fr me.

Circle/Elips Creator

This is program to show how to draw circle and elips vertex by vertex. You can choose how many vertex to draw the object (circle / elips). You also can reduce or add the radius. Use opengl

Out_MP3 Plugin for Winamp
This Winamp Plugin allows you to directly output to MP3. This is great for ripping CDs if you have the CD Reader plugin for Winamp. If you don't have either, go to http://www.winamp.com/ and get them!

Check back for new versions soon!

Turtle Graphics (ASCII)

Create ASCII graphics by controlling a Turtle. The turtle is placed somewhere on the canvas, and you tell it to move, turn, and when to draw. This simple program will display a '#' where the turtle has drawn, and a '.' where the turtle hasnt. Enjoy, and please vote!

Spectrum Analyser Plugin for Winamp

This is a fully skinnable Spectrum Analyser plugin for Winamp 2.x. It is finished to the point of being usable but not by any means complete and will continue to be updated. Any suggestions/hints would be appreciated.

CLOCK_3D

This is 3d clock. This is a bit like windows time screensaver.

Computer Graphics Programs
Color Bar

This is small program written in Assembly language for intel pentium processors of series 80x86.This will out put 16 bars of different colors .This Color Bar can swing the mood and will make people happy.I am including '.exe' file also if some body don't have a assembler like MASM they can get from the web.You need masm to compile this program .

Demonisch International clock

View the local time or the time in a different time zone using three different clock GUI's (Analogue, Digital and Binary). Also includes a stop watch mode. The clock will calculate what time zone you belong to, and offset the other time zones from yours.

DosPaint

This program is developed in Turbo C in dos version. It look like Mspaint (more detail visit www.pickSourcecode.com ). we can draw pictures, edit picture using this dos paint, I designed some tools like windows ie, listbox dialog, button etc. Using those tools i was developed this Dos Paint. Use this program for only studying purpose. if you want the executable, click this link.

DRAW

This program simply replicates some tools of MS paint software and tries to give a window interface

Draw Snowflake(s) (Fixed!)

Draw Snowflake(s)...Pretty Simple...Draws Radom Polygons and then draw's it's symetric mirror versions...simple method

Designs

Play with circles and lines.Learn how to blink text in the graphics mode add sound and lots more

Drawing program

This is a drawing program in C.This is still in its development stage.Presently it provides foreground and background color selection,line width selection and eraser function.The program can be expanded furthur.The code is simple and easy to understand.

DOS Paint

A fully functional 2D Graphics Editor ( Screen Editor ), that is an MS Paint like utility for DOS.

Direct Sound Easy to use class

Play multiple sounds using Direct Sound with an easy to use class in an external DLL.

Direct Music easy to use class

Play Music files in DirectX using an easy to use external DLL class.

Drag Bitmap

Hey A Bitmap Draging Program Mabye Someone Could Help Me Make A Menu Item Which Makes A New Bitmap I Always Get Some Sort Of Illegal Operation.

dospaint

DOS BASED WITH GRAPICAL USER INTERFACE SOFTWARE THAT CAN BE USED FOR BASIC DRAWING.WINDOWS

draw n read image

draw and read images

Drawing a circle

Draws a circle

Dancing Lines

This program make Dancing Lines on your screen just like the screen saver on Windows Operating System. Critic and Suggestion are very Welcome.

drawing equation

you can see tha drawing of many equations thses equations like sin(x2), and x2..... you can but any interval and you can use the mouse to choice the equations.

Draw a Freehand line Using vc plus plus

with the help of this program you are able to draw a very freehand lines using MFC classes. Check it...........

DRAW FUNCTION WITH OPENGL

learn OPENGL programming

DOS MENUS(like windows)

menus 4 dos

DOS-GUI

This zip package contains some source codes to impliment GUI

DOS-Piano

simple sound program for DOS.devloped in TC++ 3.0.

Day,Date,Time n Year

Digital plus Analog-Designed to run perfectly on TC 3.0.Resolution 640 x 480 x16Colors.This particular program is designed to give U the current Date & Time in a graphical enviorenment.It is not only a clock but it shows U the Day,Date N Year too in a Graphically designed manner.The later versions may include skinnable clocks which will definately improve programming capabilities.

Dancing_Balls

random function added to my earlier trapped balls

Drawing a series of B zier splines

Using example DrawBeziers method of Managed C++ (Visual C++ .NET).

Drawing with ExtTextOut

using example with ExtTextOut crypto of MFC

Dial2Network
      • Use your pc as a phone and lett people on your network use that 'phone'*** D2N 1.0 Beta 2
drawingAndFillCircle

this code draw circle and fill it with red color

Design In Graphics

Its a design in graphics.

Eyeballs

This program displays eyes on the screen that have a max viewing distance. The pupils distance from the center of the eye depends on the mouses distance from the eye.

Electronic address book

This is a nice electronic address-phone book. Is completely designed in graphic mode.

E-card creator

This programm helps you to create ecard which you can send to friends on occations

EASY--PIANO(keyboard piano)

MAKE UR OWN PIANO.PLAY n RECORD musicin a FILE. A VERY SIMPLE N EASY application of GRAPHICS & SOUND + BASIC FILE HANDLING.VERY SIMPLE STATEMENTS

ElectricFireWorks.cpp

This program illuminates the screen with all fireworks of all colors right on your screen. You can change the code to manipulate many parameters like colors, randomness of crackers.

ElectricFireWork.cpp

This program illuminates the screen with fireworks of all colors on your screen. You can change the code to manipulate many parameters like colors, randomness of crackers.

ExplosionEngine

This is an explosion engine of SPACESCR.

Extremely fast barycentric computation

This code does an extremely quick computation of the barycentric coordinates of a 2d point inside a 2d triangle.

fightsceen2

This is a smaller version of the first and accually better also. it uses morph and vertex comforming to attach bitmaps. Please someone give me a real job. This is good code for game design. This is plane gl code no glut.

FMOD tutorial

Playing sounds. Mp3, wav, asf .... what FMOD support... (in class)

First person camera in a 3D space

I created this code first for a cuban digital magazine. Then I decided to publish it in Planet Source Code. I hope it is well received.

Fractal with .rc plus Win32API

Draw a single Julia Fractal (Programable) using Win32API and resource file; Use a complex number class for math stuff. Small program; use Z'=Z*Z+C

Function Generator

The function generator produces sine, square, triangle waves or pink noise. This program allows you to use the line output of your sound card for testing circuits or speakers. Useful for speaker testing.

Fading Text

Flash Style Text fade function with working example. It displays given text from brightest to darkets and vice versa with the given red, blue

Fade Text

Flash Style Text fade function with working example. It displays given text from brightest to darkets and vice versa with the given red, blue

Fading Text Mesages

Flash Style Text fade function with working example. It displays given text from brightest to darkets and vice versa with the given red, blue

FLYING COLOURED BALLOONS

well its a gr8 examples of making coloured balloons flying over the screen

Fireworks ( SetDIBitsToDevice )

I found a java class called "jahabi.class" which diplayed excellent fireworks. I decomiled it and changed it over to C++. This will show you how to render a bitmap using SetDIBitsToDevice() and creating a bitmap using CreateDIBSection(). This shows you how to manipulate a bitmap's bits in memory. Great for fast processing of graphic effects. (does not use DirectX or OpenGL)

fountain

This Program Simulates a Fountain

Fading Colourful Shapes (Changed)

This fades colours and shapes... at the same time. This code draws different shapes and fades there colour on and off. Watch it and rate it!

flashcircle

it is e little screensaver which show a circles !

flashcircles2

its a little screensaver

Fading Effect

This code is completely based on a graphical object fading function.. just check it out... and if you love it... please vote me!

Flame (Awesome)

Although this code isn't mine... but I want you guys to check it out... its really awesome!

Face off

fun

Flaming Hell

This is another flame simulator... ;)

Fullscreen

This little piece of code switch to fullscreen mode and display an image! It's really simple to switch and it looks cool :-).

GIF display program

This displays a GIF file with GDI plus.

Gdiplus Texture Loader

This class enables you to load BMP, JPEG, GIF, PNG, and TIFF files as OpenGL textures.

Graphics editor 2.0

This program creates a small 16x16 bitmap graphic. It is an editor that the picture can be drawn then saved and used in other programs along with the graphics object that is included.

GUI Menu System

This is a fully GUI menu system compiled in Turbo C 2.0. It uses egavga.bgi and svga256.bgi for graphics support in 640x480x16 and 800x600x256 resolution. Supports keyboard and mouse interaction. There is a little graphics animation at the starting of the menu system. The main aim to develop this code was to provide a good understanding of how to use graphics in console mode. Menu system was developed in such a fashion that any body can add functionality to the menus by inserting his/her own code without affecting the existing code, or he/she can insert his/her own menu names just changing the menu text. The behaviour of the menu system is as closed as that of the MS Windows.

GUI MenuSystem

This is a fully GUI menu system compiled in Turbo C 2.0. It uses egavga.bgi and svga256.bgi for graphics support in 640x480x16 and 800x600x256 resolution. Supports keyboard and mouse interaction. This code demonstrates a little animation. Menu system was developed about MS Windows like fashion. The main aim to develop this code was to provide a good understanding of how to use graphics in console mode. Menu system was developed in such a fashion that any body can add functionality to the menus without affecting the existing code, or he/she can insert his/her own menu names just changing the text. There is a log in box where you should enter "SBM" as user name and 'password' as password. Codes are well commented. Please vote me for this code.

Graphics Object

This is a small driver program that displays a binary graphic.

Graphics in C plus plus (Bgi Mode)

It is A Simple Tutorial Telling You the various Commands For the C++ Graphics in Bgi Mode

Graphics Learning Codes.~GodZilla Teaches~

This is meant for anyone who has started programming in c++, and want to learn graphics and maths governed programs.VOTE PLEASE ! Learn from the codes,this can prove a great shortcut!

Graphics.h

This is the graphics header file for all of you who need for making graphics. if you need any other header files, don't hesitate to ask... and yes please comment on the programs I have writen.

Great ColorPicker

A standard ColorPicker that resembles Adobe Photoshop ColorPicker. No Image files used. purely code color algorithms.It is faster since algorithms are used efficiently ( ...within my knowledge); to speedup the running. This is my first C++ programme so the coding styles may not be in a standard way. Forgive me.

graphic calculator

Thise is my first program in university by c program.

Gui Attempt

This code was used for a class as an assignment of pointers. It shows bgi and ways to move, re-size, and erase folders. It is from TurboC++ and is probably limited to only that compiler.

graphicshape

this program show how to create some

Graphics (Four-Bug Problem)

Bugs Problem implementation in c see also "mylib.h" file

General Graphics

There aren't really any decent tutorials on here for graphics, so I have uploaded this sample application to get you started in the right direction. Simply put, this program will draw what resembles a command button that responds to user initiated events; mainly mouse down, mouse up, and mouse move events.

Graphics Routines Using Direct Manipulation of Video Memory

Program consists of basic graphics routines(cls, line, box...) which work by directly writing to video memory. This method provides unprecedented speed and complete freedom to tweak display algorithms.

GDI plus create, draw and save images

Providing an example how to create images, draw them and save them into a file.

graphics basics(pixel demonstration)

basics of graphics putpixel demonstration for c++. wonderfull image display on the screen.wonderful to see

graphics basics (line demonstration)

baics of graphics for drawing lines in c++. a simple line demonstration is given. nice to see.

Graphics code generator with editor like paint brush

This utility allows you to draw picture (like in MSPaint Brush) and Writes you program which will give you the picture as output Similar to Ms Front Page. The graphical Editor is good like never before. This works good to have a very compact file than BMP format. With this work you can design your development easily

Game SPrite Developer

GSD is tool to draw sprites for ur games...it's really useful for those who dont know to handle BMPs...the GUI really looks cool and drawing is really easy

Graphics 3D - Obj file

Read in an Obj graphic file and display it on the screen. The obj file must contain only one object. This was program #2 for my graphics class. It does rotations, translations, scales, camera, and perspective transforms. Done in Win32 API. Two obj files are included: cube.obj and sphere.obj. Note:

Gates

It is a workbench software catering to all logic gates.

Graphical Progress Bar

Graphical Animation displaying a perfect Progress Bar with Sound...

Grafix in 2D using TurboC plus plus

Basic 2D gaphics like line, circle drawing algos,

Graphic

provided basis for graphics

GamesNFun

It Shows Loading Of 16 bit bmp images in DOS

Graphics,Backbuffers,BitBlt Tutorial

This is a huge grahpics programming tutorial designed to teach you the basics of graphics programming. The tutorial covers everything from creating backbuffer's for smooth graphics to using BitBlt to start making you very own game. As always please vote and leave comments all feedback is appriciated.

Graphic Manipulation Alejandro Gutierrez

Manipulation of graphic applications. Sergio Izquierdo gave me every concept I needed and we did: a robot arm, manipulation of a square and a cube, sound reading from the sound card, a paint brush application, and a special animation.

Graphic maker

Making some effect on 24 bit bmp pictures

Graphical Keyboard

A graphical Piano

GRAPHICS HELPER

This is an graphics helper programe this is only a add of my programe for get many of my creation mail me . i m always waiting for u. i tried to create this programe in simple language.

Gift wrap

This program demonstrates using 3d Perlin noise to create a 3d wrapping paper texture that is applied to a cube.

House

This is a cool program....

Hex code bitmap drawing

This sample shows how to draw a black and white image by converting the binary equivalent of the pixels into hexidecimal and building an image from that hex code.

How to use externally loaded models in openGL code example. Milkshape Models, specifically.

Simple example code for how to use Milk Shape models in your openGL code. Milkshape is a popular program that can import from Quake3, UT and various other formats and then output to the milkshape format. This example shows how to use these milkshape models+textures in a program.

How to compile sound files directly into an exe.

Shows a technique for having wav files compiled directly into an executable.

HRM:-Windows in DOS mode

This is a HRM (HUman Resource Management) S/W. The program is created in TURBO C++ 3.0(DOS). With wonderfull WINDOWS ENVIORNMENT(SEE SCREENSHOT).A lot effort has been spent in graphics.

How To Play a wav file in your C plus plus Program

Describes how to play a wav file in your C++ program in many different fashions!

Animated solution to the Towers of Hanoi problem

This code gives an animated solution to the towers of hanoi problem with 5 rings. The method used to solve the problem is iterative ratther than recursive.

Histogram(2D)

This will generate 2D-Bar chart according to the inputs given by the User.

Histogram(3D)

This will generate 3D-Bar chart according to the inputs given by the User.

Hook CFileDialog

View an image using GDI+ library in a file dialog.

An article on How to write a OpenGL ScreenSaver

It gives u the basic details of how to write screensaver.

harry's paint

it draws different graphical figure. it is controlled with the mouse. for its detailed features download the code & execute the cpp file. Thank You . please rate it

harry's CALENDER

it serve the same purpose that any other calender serves. it can tell day for any date from 0001 A.D to future. try it if like it as a beginner. vote for it.

harry's PaintV3

new version of PSC winner code. like previous version draws graphical curves. The new features are i) windows compatibility

Islamicsoft Utilities

How to developing GUI or graphics programming in c c++

IMAGING - a graphics utility for DOS

A few graphics functions i wrote ... u can move a 2d image from 1 location to another, recieve text in graphics mode etc.

ITE

Permite crear figuras como l?neas, circulos, cuadrados, etc. Es un buen ejemplo de herencia y poliformismo, as? como uso de listas enlazadas y MFC/Draw figures, squares, lines, circles, etc. Is a good example of herency and polimorfism, a linked list and MFC classes.

Icon Editor

With This utility you can show icon on your c programs which run under dos. You can develope icons which shows your appliction more graphical like window utilities

In MFC, Using TabbedTextOut()

This tutorial teachs using TabbedTextOut(). It demonstrates computing Tab places

In MFC, Basic Matematics Formulas

This tutorial teachs that formatting output of float numbers like printf() and using color

In MFC, drawing Fibonacci series to output

For 20 term, This tutorial teachs drawing all of formating outputs to compute Fibonacci series.

ILLUSION

fun

id3fix

Simple command line example of updating ID3v1 tags on MP3 files.

Infinite desert

This program illustrates the basic principles of generating terrains and displaying them by allowing the user to navigate an infinite

Icosahedron subdivider

This program demonstrates creating a sphere by performing recursive subdivisions on the faces of an icosahedron. There's a demo at http://www.coolgroups.com/icosa/.

Jumping Frog

Create transparent bitmaps at run-time!

jetaudio equlizer

it nice equlizer but random

jet audio eq update

jet audio

Keyboard simple animation

it plays several tones, with simple animations in loading and the keypad, and also the menu with the circular double linked list

keybaord lights

turns the lights on the keyboard on and off

kk-paint-brush

I HAVE A LITTLE PROBLEM WITH MY CODE........... IT DOESN'T EXECUTE.

Kd-tree

This program demonstrates the use of a kd-tree for selecting a set of 2d points that appear in a rectangle. There's a demo of it at http://www.coolgroups.com/kdtree/.