Click here to Skip to main content
11,713,864 members (86,407 online)
Click here to Skip to main content

Fun with the Matrix code and Markov chains

, 19 Dec 2001 163.2K 5.5K 50
Rate this:
Please Sign up or sign in to vote.
Emulates the Matrix code (like Dozer's screens in the movie) and generates nonsense text via Markov chains
<!-- Download Links --> <!-- Article image -->

Sample Image - matrix.jpg

<!-- Add the rest of your HTML here -->

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 Smile | :)
  • 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 Wink | ;)

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

Share

About the Author

Konstantin Boukreev
Web Developer
Russian Federation Russian Federation
I am freelance programmer. About 3 years of experience in C++ and I would rather use ATL, STL, WTL but not MFC Smile | :) . Main backgrounds are Win32 API, COM and Networking. Now I am interested about AI (Neural Network, Fuzzy Logic and GA). Currently based in Vladivostok, Russia.

You may also be interested in...

Comments and Discussions

 
Generalim a noob.com Pin
cybr_sn@k322-Oct-08 9:18
membercybr_sn@k322-Oct-08 9:18 
GeneralDisplaying In CMD Pin
Insignificant Spec4-Jan-05 1:16
memberInsignificant Spec4-Jan-05 1:16 
GeneralNot original, but pertty well :-) Pin
Anonymous14-Nov-03 3:46
sussAnonymous14-Nov-03 3:46 
QuestionSo What??? Pin
EmirPerez23-May-03 19:36
memberEmirPerez23-May-03 19:36 
Generalget the code to discuss Pin
Tu_fotech22-May-03 16:30
memberTu_fotech22-May-03 16:30 
GeneralRe: get the code to discuss Pin
TomP25-May-03 19:39
memberTomP25-May-03 19:39 
GeneralRe: get the code to discuss Pin
kbsoftware20-Apr-05 19:19
memberkbsoftware20-Apr-05 19:19 
Questiondrawing past pane window? Pin
Ed Korsberg30-Dec-02 8:23
memberEd Korsberg30-Dec-02 8:23 
GeneralThe link is broken Pin
Mehdi Mousavi20-Dec-01 9:43
memberMehdi Mousavi20-Dec-01 9:43 
GeneralRe: The link is broken Pin
Konstantin Boukreev22-Dec-01 19:00
memberKonstantin Boukreev22-Dec-01 19:00 
GeneralCool, but not perfect Pin
Tim Kosse20-Dec-01 1:49
memberTim Kosse20-Dec-01 1:49 
GeneralRe: Cool, but not perfect Pin
Henry Jacobs21-Dec-01 9:42
memberHenry Jacobs21-Dec-01 9:42 
GeneralRe: Cool, but not perfect Pin
Jason Hooper14-Jul-02 8:23
memberJason Hooper14-Jul-02 8:23 
GeneralRe: Cool, but not perfect Pin
Kryojenix17-Dec-02 9:29
sussKryojenix17-Dec-02 9:29 
GeneralRe: Cool, but not perfect Pin
Jason Hooper18-Dec-02 23:08
memberJason Hooper18-Dec-02 23:08 
GeneralChange it to screen saver Pin
Moz19-Dec-01 22:23
memberMoz19-Dec-01 22:23 
GeneralRe: Change it to screen saver Pin
Konstantin Boukreev19-Dec-01 22:34
memberKonstantin Boukreev19-Dec-01 22:34 
GeneralRe: Change it to screen saver Pin
Anonymous5-Jun-03 10:13
sussAnonymous5-Jun-03 10:13 
GeneralRe: Change it to screen saver Pin
Anonymous29-Jun-03 1:56
sussAnonymous29-Jun-03 1:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.150819.1 | Last Updated 20 Dec 2001
Article Copyright 2001 by Konstantin Boukreev
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid