65.9K
CodeProject is changing. Read more.
Home

Fun with the Matrix code and Markov chains

starIconstarIconstarIconstarIcon
emptyStarIcon
starIcon

4.72/5 (18 votes)

Dec 20, 2001

viewsIcon

180846

downloadIcon

5895

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 ;)