Home » C++, Matrix Fall, OpenGL

Matrix Fall X (source code in c++)

3 January 2009 29 Comments

This code emulates the falling code effect (digital rain effect) from the Matrix movie.
It uses the authentic fonts and a new particle engine for better visual effects.

matrix_fall_x_1

Coded in c++ with the OpenGL API. Source code included.

This code received the ‘Superior Code’ award for Planet-Source-Code and many great feedbacks from programming websites.
Source code is fully documented in French.

Hope you like it !

Matrix Fall X, Matrix Digital Rain effect in 3D (c++) (7930)

(A french version of this post can be found on this blog)

And a Visual Basic version (Matrix Fall 3D) can also be found here (possibility to set custom texts)

matrixfall_headline

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • E-mail this story to a friend!
  • LinkedIn
  • TwitThis

29 Comments »

  • Aneez said:

    Good

  • Thomas John (author) said:

    Thanks.

  • Kristoffer Mührmann-Lund said:

    I was browsing through the internet for matrix digital rain look-a-likes, because our yearly school theater is all about the matrix (the first one), and now that i found your beautyfull projekt (Matrix Fall X), i almost think that my search for great visuals is over… But i would like to know if there is a way to change the font you are using, so my school group could use our own wannabe matrix code font for the play.

    if it is of any interest, then i can tell you that we are from Denmark, and that we would be very happy if you could help us by telling us how to change the font. We have the necessary software if any is needed

    thank you for your time!

    P.S sorry for bad grama

  • Thomas (author) said:

    hi, thanks for your message, I really appreciate it.
    The change the fonts, simply open the “fontes_vertes_alpha.png” and “fontes_blanches_alpha.png” files.
    Those are PNG files and can be edited in any good image editor.

    Also check this other project (older) which is quite similar but has more functionnalities and gives you more control over what is shown:
    http://blog.open-design.be/2009/01/04/matrix-fall-3d-en/

    source code is included too.

    cheers.

    tom.

  • zani said:

    i can’t download it :(

  • Thomas (author) said:

    Just tried and it works…

  • Vasil said:

    Great job. Real magic.Thanks so much.

  • Thomas (author) said:

    Thanks
    you’re welcome.

  • n said:

    Hi, this is great. I was wondering whether the documentation was available in English, since that would really help me.

  • Thomas (author) said:

    no, not for this one.

  • Coder said:

    Hey thanks for this download! I have been looking for this!!! Thanks!

  • Josh said:

    Thank you very much, great code, but I thought the lines started at the top always? In your version, the code starts in the middle

  • Thomas (author) said:

    they start pretty much everywhere in this version…
    an “artistic” choice I guess ;)

  • NickV said:

    Great effect and good code.

    It would be great if you could publish one with comments in english too !

    -Nick

  • Thomas (author) said:

    yeah well, it was a long time ago
    but tkx!

  • Oscar said:

    Your web page is awesome!!!! thanks for your code and help too. I was looking for many days and finally i have it. I have one question: the code can run in a window? if so can u tell me how? thanks again…

    I´m colombian sorry for bad grammar.

  • Thomas (author) said:

    yo, yeah it sure can run in a window but you’ll have to look at the code… I think it’s just a line of code to change but I’m really not into c++ right now
    good luck!

  • raghava said:

    Can any one tell me a method to execute it i am a learner in c,but i m very enthusistic to matrix fall 3d
    please get me some way to execute it
    if u can mail me the program rewritten please post me that to………………………………..181781221@in.com

    well i feel very good to be one among the blog

  • Thomas said:

    AWSOME, thanks for the code.

  • warin said:

    when i started it i and seen it i cried a little… its so beautiful

  • Thomas (author) said:

    ;) tkx!

  • Benjamin said:

    Hi guys!

    I would like to know how to create a matrix fall but with specific names and words I would type, instead of just letters. I have to specify I’m a novice in programming so do you know if there is a software that can do it?

    By the way Thomas, your animation looks quite good.

    Thanks!

    Benjamin

  • Thomas (author) said:

    hey
    there might have a software out there to do what you’re looking for but I don’t know it.
    You can try my Matrix Fall 3D source (on this blog) as it allows you to show custom texts (but not the way you want it)
    You also can try to modify the sources… it’s possible and with not too much efforts but I won’t be able to help you as it is quite some work.
    cheers
    tom.

  • Benjamin said:

    Thanks for your answer Thomas, I don’t know how to modify a source but I guess now that I should learn it :-)

  • Rudhin said:

    Oh man………. this is really cool man…………….i love it i love it i love it

    can you please provide me the code of its very basic version, for turbo C++, to the mail ID that i have provided ????

    thank you very much

  • Thomas (author) said:

    this is the only source code I can provide
    have fun

  • neeraj said:

    hey great work,its really beautiful piece of work .keep it up man….

  • Niko said:

    Hey,
    This looks really awesome.
    But i am running windows 7 on a widescreen laptop, so it only shows the Matrix effect in the middle :(
    Any solution to get it full widescreen so i can use it as screensaver ?

    And can u make other c++ codes that looks that awesome :)

    Thanks alot man :)

  • Thomas (author) said:

    hey
    tkx for your message
    I’m not working on this anymore.
    Sources are there… maybe give it a try ;)

Leave your response!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.

Security Code: