Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles
(untagged)

Fun with the Matrix code and Markov chains

0.00/5 (No votes)
19 Dec 2001 1  
Emulates the Matrix code (like Dozer's screens in the movie) and generates nonsense text via Markov chains

Sample Image - matrix.jpg

Disclaimer:

You must not search for any serious sense in this application. I did it only for fun.

Description

The "Just Matrix" application emulates the Matrix code (like Dozer's screens in the movie) and generates nonsense text via Markov chains.

The curious reader can find two main classes in the source code.

  • MatrixBlitter - in fact the class for the emulating of the Matrix code, but it can draw a streams of code in any colour :)
  • markov_chains - it uses a well-known algorithm for the generating of a nonsense text

The source code has no dependence on MFC or ATL only STL. You can freely use it in any application.

Feel free to contact me via email and send any questions and remarks. Have fun ;)

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here