home *** CD-ROM | disk | FTP | other *** search
/ Fish 'n' More 2 / fishmore-publicdomainlibraryvol.ii1991xetec.iso / dirs / projmot_453.lzh / ProjMot / ProjMot.doc < prev    next >
Text File  |  1991-02-18  |  4KB  |  82 lines

  1.  
  2.  
  3.     Projectile Motion (ProjMot V1.01)
  4. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5. © Copyright 1991 Christian E. Hopps
  6.  
  7.     ProjMot is a graphing program that plots the path of a projectile in a 
  8. plane in real time. The window is scalable, also velocity, angle and time 
  9. acceleration are user definable.  ProjMot is WB1.3 and 2.0 compatible, and 
  10. the window is sizeable so that you may take advantage of virtual screens in 
  11. WB2.0. Math is done using the built in math library and Mathtrans.library 
  12. both single precision, req.library is also required (V2.5 is supplied with 
  13. archive.)
  14.  
  15.     This program was basically my attempt to apply some of the physics I 
  16. began to learn this year at college. The program is written in C and was 
  17. compiled with Lattice V5.1.  To save time I used req.library for most 
  18. intuition interfacing. ProjMot is a decent example of writing with math 
  19. functions in C.
  20.  
  21.     Using the program is easy. You can define the velocity and angle of 
  22. the projectile as it leaves the ground. The initial scale of the display is 
  23. 1 pixel = 1 meter. This can be adjusted with the scale gadget, so if you 
  24. want 1 pixel = 1km type 1000 in the scale requester. After running the 
  25. program once with the pixel scale at 1km I decided to add time acceleration 
  26. (Acc. Time) Basically if you type 2 in the Time Acc. requester, things will 
  27. happen twice as fast 10 = 10 times... ProjMot does not account for air 
  28. resistance so if you launch something at 10km / second, it's gonna move!  
  29. The Display is not cleared after each firing so that you can compare 
  30. different settings. Re-sizing the window, clicking the Clear gadget, or 
  31. changing the scale, will clear the display. As of this release ProjMot 
  32. simply brings up a text requester to give you the vitals, ie. distance 
  33. traveled in the x direction, and the time it took.
  34.  
  35.     All the code and including the graphics are Copyrighted but use for 
  36. educational purposes is granted, also if anyone wants to include parts of 
  37. the code for non-profit projects (Public Domain) feel free, just give 
  38. credit where credit is due. This program is uh..FreeWare.. I think that is 
  39. the name for it, anyway you can't sell it but it can be distributed in Disk 
  40. collections (such as Fred Fish.)
  41.  
  42.     A executable is included but if you wish to recompile the source, some 
  43. modifications need to be made. First I use two directories, the current one 
  44. and link:, they can be one in the same as long as the current directory has 
  45. the assign "link:" attached to it. "graph.c", "window.h" , and "ggads.h" 
  46. must be in the same directory as well as  "makefile", and "withfile" (the 
  47. current directory), all the rest reside in link: to compile all you type is 
  48. "lmk -a" (for lattice) this will do a full compile using "makefile".  
  49. "withfile" is just a blink WITH file, the argument line grew to large for 
  50. CLI to handle.
  51.  
  52.     I am asking for no money or anything like that, but if you have 
  53. suggestions or REALLY REALLY want to send a poor college boy some study 
  54. money, you can reach me at:
  55.  
  56.         Chris Hopps
  57.         1609 Fairview
  58.         Royal Oak, MI.    48073
  59.  
  60.         UseNet: wsu-cs!ro-chp!chopps
  61.  
  62. History
  63. ~~~~~~~
  64. Version 1.01
  65.     o No none bugs.
  66.         Clip routines need to be enhanced so that the path is drawn to 
  67.         edge of clip region.
  68.  
  69. Version 1.00
  70.     o Would not work with 68000 or 68010
  71.         I had compiled with 68020 option set in SAS/C options. Simple fix
  72.         recompiled with any processor option set!
  73.  
  74. Future    (In order. Hopefully all will be included in next release.)
  75. ~~~~~~
  76.     o Labels that refresh.
  77.     o X/Y axis graphic into window.
  78.     o Air resistance.
  79.     o Variable Mass (only matters for next two.)
  80.     o Variable elasticity of projectile. (watch it bounce!)
  81.     o Solid boarders to bounce projectile off.
  82.