home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Source Code / C / Snippets / NewDynamic 1.0.1 / Read Me < prev   
Encoding:
Text File  |  1995-12-01  |  1.6 KB  |  42 lines  |  [TEXT/ttxt]

  1. Another old, dead source code brought back to life by
  2. Kenneth A. Long, at itty bitty bytes(tm)!
  3.  
  4. Originally a MacPascal source, from Northwestern University,
  5. from March 22, 1985!  I translated it to Think C and perked it 
  6. up a little. (Pascal source is included, plus original prog.)
  7.  
  8. Watch out - there may be bugs or unimplemented traps!
  9.  
  10. It originally put up a text window, asked for variations, then it
  11. would show the drawing window and two sets of 3 "sine" graphs of
  12. something some psychology professor thought had something to do 
  13. with behavior/action, with different line widths differentiating
  14. (though not specified as to which was which).
  15.  
  16. But my C version only does the drawing.  If you want to change the
  17. values you have to do it in the DynamicSimulation () routine.  But
  18. that's no fun.
  19.  
  20. I was interested in the drawing - not the console crap, so I
  21. got rid of all of it.  It should be replaced by a dialog or some
  22. on-screen controls, ala "OvalsDooDadd" or Earthplot.  See?  That
  23. would be more fun.
  24.  
  25. I added some colorization and a vertical line drawing routine.  I
  26. also added a grow box and handler, but the window doesn't update.
  27.  
  28. The strings drawn are based off window height/width, but the graphs
  29. are not, so grow/shrink window is screwy.
  30.  
  31. Other than that it's pretty much the same - as far as drawing - as
  32. the original.
  33.  
  34. I don't know what sort of a tangent the shrinks were on that had
  35. something to do with the supposed purpose of these graphs, but it
  36. has some use as a value graphing thing - if you know what to
  37. change and where.  A biorythm charter?
  38.  
  39. Enjoy!
  40.  
  41. kenlong@netcom.com
  42.