Skip navigation.

Beyond the Sky

The place where surface stop and share the experience of life

Posts tagged with "matrix"

matrix 0.2

, ,

What's New?
===========

- uses getopt to manipulate arguments, better way compare to 0.1a
- take off kbhit for unblocking keypress detects, instead uses timeout(0) and getch
- can change color during matrix is runing
- q and enter to terminate the matrix
- support default background color, if you have pseudo transparent on, you will experience it.


matrix 0.2
simple matrix animation using ncurses lib
Usage: matrix [option]...
matrix --version
matrix --help

-c [1-7] Color value from 1 to 7, default is 2
-t [string] Text heading for each flow string
-s [1-9] The flow speed, 1 fastest, 9 slowest
-l [1-50] Default have 25 flow strings, you can add more
-b Use black as background
-v Print Version
-h Print Usage

Internal Usage:
q | enter Quit the program
[1-7] Changing color




Binary:
matrix_0.2.tar.gz

Source Code:
matrix_0.2_source.tar.gz

matrix 0.1a

, , ,

matrix 0.1a
simple matrix animation using ncurses lib
Usage: matrix [option]...
matrix --version
matrix --help

-c [1-7] Color value from 1 to 7, default is 2
-t [string] Text heading for each flow string
-s [1-9] The flow speed, 1 fastest, 9 slowest
-l [1-50] Default have 25 flow strings, you can add more

--version Print out the version
--help Print this page



Source code:
matrix.cc
Binary:
matrix-0.1a.tar.gz

While running at different terminal, they uses different amount of processes. This program have difficulties running at multi-gnome-terminal. I have tested under Ubuntu Edgy, xterm, aterm, gnome-terminal. For so far, aterm gives the best performance.

ncurses matrix!

, , ,

I have done something stupid again! Play around with ncurses is fun, I have created something similar to matrix flow string ~

Ring ring ring ring banana phone.


It takes more resources to run at gnome-terminal compare to xterm.

Get the binary from here:
matrix

I will publish the source code later, if anyone interested.

Steps to run,
1. copy it to any directory
2. chmod +x matrix
3. ./matrix <num> // where the number is 1 to 7 (color)

Suggest you to run at xterm! Gives some comments.
December 2009
S M T W T F S
November 2009January 2010
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31