Delphi For Fun Newsletter #17




Sunday May 13, 2001

Delphi For Fun Newsletter #17


Here are the "What's New" excerpts since last time.  One simple effort and one that kept me out of trouble for about 80 hours in the past 2 weeks. 

May 6,2001:  It's been one of those weeks with a not much to show for it.  I'm working on a Tangram program and a Solar position programs - figured a couple of days for each.  Well, a couple of days barely scratched the surface.  Maybe next week.  In the meantime here's  one examining  an excellent  Bad DNA Theory,  prompted by a book I'm currently reading.   After Francis Crick and his associate, James Watson, came up with the double helix explanation for the structure of DNA, Crick developed this theory to explain why the 64 three-letter words formed by the 4 bases (A,C,G,T) would only produce the 20 existing amino acids.  A  25 line Delphi program illustrates the theory.   Brilliant, simple, and elegant, ... but wrong!    The book, by the way, is  "Genome" by Matt Ridley.   I'm finding it a  fascinating read.

May 9, 2001:  Tangram1 was posted today.  It's a partial version of the classic  Chinese Tangram puzzle.  A square cut into 7 pieces is to be reassembled to match a given figure outline.  In this version, the pieces are defined and can be moved and rotated to form figures.  There's even an option showing the original square figure as a pattern.  (But  assembling the square without the pattern can be a challenge the first time you try it.)   Flipping of pieces and figure handling are still to be completed.  

If you are just interested in playing with a finished Tangram, I recommend Professor Mark Overmars' excellent version available here

May 13:2001: Here is Tangram 2, the "final" version of the Tangram  Square and Cat puzzle.   A challenging project based on a version written by Dr. Mark Overmars, University of Utrecht, NL.   His version is better than this one (It includes an Editor to build new figures and a Help file!).  But mine runs the same figure files and includes Delphi source (of course).    A good exercise in Computational Geometry, a field  I didn't even know existed until last week.  There are close to 1000 lines of code here, so plan on spending several lunch hours if you want to understand how it works.    




To subscribe or unsubscribe from this newsletter, go to
"There are some things which cannot be learned quickly, and time, which is all we have, must be paid heavily for their acquiring. The little new that each man gets from life is very costly and the only heritage he has to leave." Ernest Hemingway (1899-1961), U.S. author

4560 visitors