next up previous
Next: global variables and constants Up: Development of Computer Generated Previous: Results

Code

Once the program was completed, the code was reduced and compacted. What had been nearly a thousand lines was reduced to around 400 lines. This makes the code much more organized. For example, instead of creating a large graphical function for each individual finger, each with its own data and variables, a general function was made that takes some parameters and draws the finger. By this method, I was able to make my code easier to read and understand, but this also significantly shortened the code length itself.



Subsections

Michael Hull 2003-06-11