Results for "Category: Graphics/ Sound"
** ASP VERSION POSTED 11-14-01 ** ** On 1/31/02 I have posted a JavaScript version ... check Java/JavaScript site for code or visit my website at home.att.net/~p.walchli **. This code is based on what I have posted previously using Vector Markup Language (VML). This code is written in VBScript and SVG. You will be presented an interface that allows you to enter values, pick a chart type, and render the chart to the screen. What you'll see are very basic charts (boring visually) but you will gain the understanding on how you can create SVG charts on the fly with VBScript. What you'll see rendered is well below what you are capable of creating using SVG (there are no animations or transformations). That is the main reason for naming this posting Beta 0.1. In order to view the pages correctly you must 1) download and install an SVG Viewer. 2) Copy the file (included in the zip file) Chart.svg to the root directory of your C: drive (C:\). You can change this location in the code if you wish. 3) Copy the remainder of the files into the same directory on you drive (SVGCharts or whatever). Finally, if you are interested in SVG, I highly recommend Andrew Watts' new book on SVG by New Riders: Designing SVG Web Graphics. The book is well written and you'll find it easy to apply its concepts. Please let me know if you have any comments or suggestions for the code. I can be contacted at: p.walchli@att.net. I do intend to post updates (integrating animation and transformations) as time permits as well as an ASP version sometime in November. Happy coding!
** On 1/31/02 I have posted a Scalable Vector Graphics/JavaScript version ... check Java/JavaScript site for code or visit my website at home.att.net/~p.walchli **. Create VML Charts on the fly with ASP. This is (finally) Version 2 of what I previously posted. I have included five files (VML.asp, BuildPage.asp, BuildLineChart.asp, BuildBarChart.asp, and BuildPie.asp) that will show you how to choose a chart type, enter some values and build the chart. As I have mentioned before, and do so in each file, VML does not render in anything but Internet Explorer 5.0 (IE 5.0). IE 5.5 seems to have some quirks rendering text … I have not worked on a work-around as of yet. I have also not tested the code in IE 6.0. Please let me know how it works if you do. That said, VML is excellent for a controlled environment using IE 5.0. I would also plan on one day converting your VML over to Scalable Vector Graphics (SVG). SVG will be (at least it appears that way today) far more widely supported. Contact me with any questions or if you find any bugs. Enjoy!
** On 1/31/02 I have posted a Scalable Vector Graphics/JavaScript version ... check Java/JavaScript site for code or visit my website at home.att.net/~p.walchli **. Create a line chart dynamically with Vector Markup Language (VML). I wrote this code to dynamically create a line chart on an internal website. It actually runs as an ASP page, with the data for the chart being passed from a SQL server. For posting this example I changed the code to run in HTML & VBScript. I intend to post the ASP version and a Pie Chart done in VML in March, 2001. The downloadable code is fully commented and explained (as best I can). FYI: If you wish to use this code in ASP and connect it to a database, you'll need to convert the VBS document.write tags to response.write ...
Dynamic Surveysystem v1 Just take a look at the best: -Simply administration functions (like all of my programs) -Premade grafics -Totally dynamic: You only have to edit ONE file and my program modifies all the others automatically. -Cookie based voting: To prevent one user voting several times. Just download it and enjoy this great Surveysystem coded by Guo Xu. You won't be dissappointed. And by the way, don't forget to vote for a 15 years old asp programmer ;) This code was tested on Win 98 SE/PWS and Win2K Server/IIS5. To create or edit a survey just load setup.asp from your browser once setup.asp is uploaded to your server. Of course you can change the grafics of the surveybars. The easiest way is to open the default grafic in the grafix folder and modify them in an Editor like Photoshop, Photo Impact, Fireworks. NOTE: You better dont modify the size of the grafix. If you do some errors may occur.
An ASP bar graph. Easily customized and great examples. Customizations include Top Padding, Side Padding, Bar Width, Bar Padding, (Only if bars are in groups.) Group Padding, Number of Groups, Number of Bars Per Group, Maximum Value Values For Each Bar, Colors of Bars, and Titles Of Each Bar! The inputs are all at the top of the code with explanations. Nicely blocked off for your convenience. I have not tested this with Netscape. Please let me know how it does. You can only have a maximum of 18 bars due to restrictions from style properties. This problem is easily breached by using javascript. If you would like that code please email me @ checkerman_1985@yahoo.com
i-browser this script is an-asp based image browser which will show all the images in your specified folder in a navigable format. it can also delete images. It also shows the subfolders of the current folder in view.
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!
Gravity Simulator that uses the OpenGL Libraries. I used the GLUT event handler interface to control Mouse functions. Found at: http://modzer0.cs.uaf.edu/~hartsock/C_Cpp/OpenGL/Gravity.html
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).
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.
demonstrate how to make a circle with out using the provided circle command. for those of you who have ever need to make use of the symetry of a circle here's a program that will help. The code provided is made into a simple screen saver
A simple fire like effect is drawn onto the screen.
Hi Everyone, I'm Very New At This, I'm Usually Found In The VB Section. This Is My Very FIRST C++ Application! I Just Thought I'd Let You Know How Simple It Is To Make A Sonique (www.sonique.com) Visual Plugin. It's Shows The PCM Waveform Of The Mp3 You Are Playing, And Has A Cool Colour Changing Effect. Please Note That This Code May Be Very Sloppy. It Is Also Un-commented, But If You Ask, I Shall Upload An Annotated Version. (P.S. This Has Only Been Tested On Sonique 1.51.0 , And Pleassseeee Vote And Give Comments.)
GRAPHICAL WELCOME FOR ANY PROGRAM OR PROGRAMMER, WHO WANT'S TO IMPRESS HIS USER, MAY IT BE A CLASS PROJECT OR A PROFESSONAL PRESENTATION.
Play with circles and lines.Learn how to blink text in the graphics mode add sound and lots more Visit www.gauravcreations.com for more cool programs
Displays amazing graphics on ur screen with sound like flowing water
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!!!!!! PLEASE RATE IT.
A cool application that converts anything drawn in 2-D to 3-D.COOOOOOOl isn't it (see screenshot) More cool programs for download at www.gauravcreations.com Please Vote
Hey the olympic fever has hit planet source code too.Check out this code For some advanced graphics programs and help please visit www.gauravcreations.com
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. For more 3D programs and help in bc++ visit my site www.gauravcreations.com