Basic key-control event gaming on form background
Basic key-control event gaming on form background
Basic key-control event gaming on form background
Basic key-control event gaming on form background
Basic key-control event gaming on form background
Basic key-control event gaming on form background Basic key-control event gaming on form background Basic key-control event gaming on form background Basic key-control event gaming on form background Basic key-control event gaming on form background Basic key-control event gaming on form background Basic key-control event gaming on form background Basic key-control event gaming on form background
Basic key-control event gaming on form background Basic key-control event gaming on form background
Basic key-control event gaming on form background
Go Back  Xtreme Visual Basic Talk > > > Basic key-control event gaming on form background


Reply
 
Thread Tools Display Modes
  #1  
Old 01-16-2012, 05:22 PM
Kingtal0n Kingtal0n is offline
Newcomer
 
Join Date: Sep 2003
Posts: 7
Default Basic key-control event gaming on form background


Hello, I am trying to make a "game" that will take calculus integration formula and generate three dimensional pictures of the results.

My three main questions are:
1. There is no built-in integration formula so should I just make a picture that resembles integration and include the already integrated lines of math for actual calculations? In other words, the user will see the integration symbol but the math behind the scenes will be already integrated? Or is there an integration formula I am unaware of?

2. I dont see any clear cut way of making a 2D graph or assigning numbers to the graph, I was thinking of making a picture of a graph but it would be static, say 0-10 on the X and Y plane. I would LOVE to be able to alter the dimensions of the graph and in fact I think it may be necessary but there is no "drag and drop" graph from the toolbar... what are my options?

3. For integration of 2D graphs that give 3D objects, such as the shell method for a parabola wrapped around the Y-axis, where should the object output to (the form background perhaps?)- and I would love to be able to rotate it using the mouse. (click and drag to rotate 3D object). again there is no tool for this, I am wondering even quite how to begin such a thing.
Reply With Quote
  #2  
Old 01-19-2012, 07:09 AM
surfR2911 surfR2911 is offline
Contributor
 
Join Date: Oct 2009
Posts: 719
Default Calculus, graphing equations, plotting charts, etc

In regard to question #1:
Take a look at the Symbol font in the Windows Character Map utility.
It has the integration symbol as well as some other greek and math symbols.
It might do in a pinch.
There are other latex fonts out there but not many truetype with free distribution.
I recommend you create the font text symbols in a memory DC amd bitblt them where you need them in the equation (also works for text labels of graphs).
http://www.vb-helper.com/howto_memory_bitmap_text.html

I do not recommend trying to use a richedit control.


In regard to #2:
BillSoo's: "How to Create a Line Graph"
Here is a thread post with some simple line chart plotting code.
You can use VB's Line method to draw curves for plotting equations.
http://www.vb-helper.com/howto_polyn...t_squares.html
Forum thread on drawing parabolas: Parabola Program Help
If you want to reshape the curve you will probably have to drag around points.
For an example see "Bezier7d.zip" attached to this post.

If you are looking for a vb6 calculus calculator & graphing code sample, see this psc code.


In regard to question #3:
For plotting (and rotating) points in a 3D space the wireframe code attached to this post might be a good starting point.
Attached Images
File Type: jpg symbol_font_character_map_math_characters.JPG (56.7 KB, 8 views)

Last edited by surfR2911; 01-19-2012 at 07:32 AM.
Reply With Quote
  #3  
Old 01-21-2012, 10:38 PM
Kingtal0n Kingtal0n is offline
Newcomer
 
Join Date: Sep 2003
Posts: 7
Default

Thank you very much!
I have quite a bit of reading to do now, plenty to get me started!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Basic key-control event gaming on form background
Basic key-control event gaming on form background
Basic key-control event gaming on form background Basic key-control event gaming on form background
Basic key-control event gaming on form background
Basic key-control event gaming on form background
Basic key-control event gaming on form background Basic key-control event gaming on form background Basic key-control event gaming on form background Basic key-control event gaming on form background Basic key-control event gaming on form background Basic key-control event gaming on form background Basic key-control event gaming on form background
Basic key-control event gaming on form background
Basic key-control event gaming on form background
 
Basic key-control event gaming on form background
Basic key-control event gaming on form background
 
-->