LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   General (https://www.linuxquestions.org/questions/general-10/)
-   -   Bored? Create here a beautiful art ASCII with nballi ... (https://www.linuxquestions.org/questions/general-10/bored-create-here-a-beautiful-art-ascii-with-nballi-4175456250/)

patrick295767 03-31-2013 07:45 AM

Bored? Create here a beautiful art ASCII with nballi ...
 
3 Attachment(s)
Hello Tux Family,

Being bored? Who is nballi?

nballi is a little ball which does jump on your console.

Please do not hesitate to leave us a nice ASCII Bitmap (as file attachment to this thread)...

Please share your art file which is simply located in the generated file:
/tmp/logo


Cheers!!
The Bitmap nBalli Team ;)



--
Quick Howto:
1) first step consists in renaming the pdf to tar.gz which is provided in attachment, then unpack it with:
Code:

tar xvpfz nballi_by_pat.tar.gz ; ./nballi
md5sum:
md5sum nballi_*
862f4fca33db834b21f18d52ace2dd96 nballi_by_pat.pdf
862f4fca33db834b21f18d52ace2dd96 nballi_by_pat.tar.gz
e8e2c77a4b87592659566f5121f9a46f nballi_x11_debian_screenshot.png




2) Key shortcuts:
If you press 'u', you can enter the EDIT mode to draw a landscape for the travel of nballi.
'space' key will draw a pixel at the position of the ball (cursor)
Pressing 't' will trace.
The color can be changed with 'o' and 'p'.
The cursor (shape) is changed with 'b' and 'n'.
'u' switches the view to edit or jumping mode.
'i' stops the ball (cursor).
'1'...'9' changes the color (drawing)

There are many other keys ...

At key press of 'space', it will draw to /tmp/logo
With activating with 't', you may draw lines and so on...

By the way, try the various cursors of nballi ('b' and 'n')... you saw the nice one? ;)

-- architectures:

I forgot. It has been coded some day (by me) under ncurses for fun.

(I release it for the pandora and debian i386 (Linux debian 2.6.32-5 #1 SMP Thu Nov 3 05:12:00 UTC 2011 i686 GNU/Linux))
ARM and i386 architectures are supported.

--
Sample:

I attach the /tmp/logo of the screenshot (posted as logo.txt).

H5X00R 04-29-2013 03:44 PM

delete

ButterflyMelissa 05-02-2013 10:01 AM

Quote:

delete
Why? It's kinda what computers were made fore as well: play... :D

patrick295767 05-03-2013 12:45 AM

Quote:

Originally Posted by Thor_2.0 (Post 4943423)
Why? It's kinda what computers were made fore as well: play... :D

Indeed. Gaming.

First computers were well sold also because of gaming

http://www.youtube.com/watch?v=_f-TArrEw_c

ButterflyMelissa 05-05-2013 05:10 AM

Quote:

Indeed. Gaming
Star trek, in BASIC...still have the listing here...cant find the book right now, but at the time of purchase (I was 12, then, some 36 years ago now) when I read the specs of the system it ran on...I was somewhat comatosed for ten minutes....it needed some 192 Kb of memory, this at the time when having 16K and a floppy drive in the house elevated you either to super geek or bad boy of the block :D

Ah, where are the days...

patrick295767 05-07-2013 01:59 PM

Quote:

Originally Posted by Thor_2.0 (Post 4945225)
Star trek, in BASIC...still have the listing here...cant find the book right now, but at the time of purchase (I was 12, then, some 36 years ago now) when I read the specs of the system it ran on...I was somewhat comatosed for ten minutes....it needed some 192 Kb of memory, this at the time when having 16K and a floppy drive in the house elevated you either to super geek or bad boy of the block :D

Ah, where are the days...

You remember the zx81, when we had sort to say 16kb and about 50 x 50 pixels for graphics

k3lt01 05-07-2013 02:27 PM

Quote:

Originally Posted by Thor_2.0 (Post 4945225)
(I was 12, then, some 36 years ago now)
Ah, where are the days...

They are back in the deep dark ages of history now, lol. I don't know why but I thought you were younger than me, now I know I was wrong :D

ButterflyMelissa 05-08-2013 03:14 AM

Quote:

You remember the zx81, when we had sort to say 16kb and about 50 x 50 pixels for graphics
Oh I do remember, and, try to put down a 3d maze where the only way to escape is to find all the gold bars (grey graphics, that was all it could do) hidden in the maze...

Quote:

I don't know why but I thought you were younger than me, now I know I was wrong
I'm edging towards fifty :) but I still have the software (settings in my brain's /etc mostly, the rest is pretty mature...) of a kid of sixteen, eh, one of the many pleasant side effects of Linux, I guess... ;)

Thor

patrick295767 05-09-2013 11:10 AM

Quote:

Originally Posted by k3lt01 (Post 4946774)
They are back in the deep dark ages of history now, lol. I don't know why but I thought you were younger than me, now I know I was wrong :D

You are probably born just after the first VT's http://en.wikipedia.org/wiki/VT100

Amazing time, when everything was still possible and not too much over-consumption ;) maybe

k3lt01 05-09-2013 01:40 PM

Quote:

Originally Posted by patrick295767 (Post 4947962)
You are probably born just after the first VT's http://en.wikipedia.org/wiki/VT100

Nope I was born over 10 years before their release.

ButterflyMelissa 05-09-2013 01:54 PM

Quote:

Nope I was born over 10 years before their release
:D you're a kid....I was 14 at that time...and already boasted a mustach...in hindsight...that was not really a good look for me...after all, I was a kid with a brush under my nose... :D
But...these VT's played an important role in those "computerfilme/seriies" of which Automan was one...

patrick295767 05-09-2013 02:23 PM

Quote:

Originally Posted by k3lt01 (Post 4948068)
Nope I was born over 10 years before their release.

So you are as old as the first PDP - machines ;) ;)

Almost a spacewar time from Sir Russell
http://en.wikipedia.org/wiki/Spacewar!

k3lt01 05-09-2013 03:07 PM

Quote:

Originally Posted by Thor_2.0 (Post 4948074)
:D you're a kid....I was 14 at that time...and already boasted a mustach...in hindsight...that was not really a good look for me...after all, I was a kid with a brush under my nose... :D
But...these VT's played an important role in those "computerfilme/seriies" of which Automan was one...

I remember that show, sheez it was tacky.

Um I still only get a brush under my nose ;)

Quote:

Originally Posted by patrick295767 (Post 4948095)
So you are as old as the first PDP - machines ;) ;)

Almost a spacewar time from Sir Russell
http://en.wikipedia.org/wiki/Spacewar!

Nope 9 years younger than the first PDPs

ButterflyMelissa 05-10-2013 12:55 PM

Quote:

I remember that show, sheez it was tacky.
Ahh, but Automan (and TRON, aaaaahhh yes, TRON) were sooooooo out there, it made you just want to get into IT...even in the very back of your mind you just knew all of that was impossible...

Actually, there should be a way to envoke these days with a game of sorts...what with all the tech we've got now (openGL, webGL, the web itself ...) that should be possible... :)

So you are as old as the first PDP - machine

Ohhh, that would be just about the time...

patrick295767 05-12-2013 12:15 AM

Quote:

Originally Posted by Thor_2.0 (Post 4948670)
Ahh, but Automan (and TRON, aaaaahhh yes, TRON) were sooooooo out there, it made you just want to get into IT...even in the very back of your mind you just knew all of that was impossible...

Actually, there should be a way to envoke these days with a game of sorts...what with all the tech we've got now (openGL, webGL, the web itself ...) that should be possible... :)

So you are as old as the first PDP - machine

Ohhh, that would be just about the time...

I liked very much AUTOMAN. That was cool at that time.

I just remembered this game http://www.youtube.com/watch?v=c9C88Q22K4w
You played with it also?

patrick295767 05-12-2013 12:19 AM

By the way, I must have the old floppies of Wordstar.

You may check this video.
http://www.youtube.com/watch?v=lS8RWGqUWPE

Would you know how to emulate cp/m with Debian?

ButterflyMelissa 05-13-2013 08:41 AM

Quote:

I just remembered this game http://www.youtube.com/watch?v=c9C88Q22K4w
You played with it also?
...umm, not really, I already met Donkey Kong :)

patrick295767 05-13-2013 12:47 PM

Quote:

Originally Posted by Thor_2.0 (Post 4950110)
...umm, not really, I already met Donkey Kong :)

That's very advanced ;) (high-tech ;) )

I have never played on PDP any games. Might have been interesting ;) I just know spacewars!

ButterflyMelissa 05-13-2013 02:02 PM

Quote:

I have never played on PDP any games. Might have been interesting
Hmmm, maybe (little smile here) it could be beneficial to translate some of the BASIC games in that book and...kinda "update" these...

Are you game? (pun intended) ;)
Most were made on these character-only terminals (80 cols by 25 lines) and are ... nostalgia, to put it softjy...

Thor

patrick295767 05-13-2013 10:39 PM

Quote:

Originally Posted by Thor_2.0 (Post 4950316)
Most were made on these character-only terminals (80 cols by 25 lines)

Character-only terminals (80 cols by 25 lines)
So small. Fascinating, really... Btw, let me check the fbdev of my handheld: 50 x 15 (it is even worst) :) :)

EDIT:
Oh man, this is true. I had several books about games, all written for BASIC. I had completely forgotten that. I had one book
with a pink cover, so far I can remember. It could be quite interesting to read it again.

ButterflyMelissa 05-14-2013 02:18 PM

Quote:

Oh man, this is true. I had several books about games, all written for BASIC. I had completely forgotten that. I had one book
with a pink cover, so far I can remember. It could be quite interesting to read it again.
...and do rewrites. Remember, us Linuxeans live...in the console... :)
I HAVE to dig up that yellow one too...why not. Should be fun, maybe to use Python or PERL instead of BASIC...I doubt that BASIC is even available/practical in Linux...
Edit - maybe this could be a great opportunity to learn ncurses... :)
Edit 2 - man, I cant find the blasted book... :D
Edit 3 - Gottit, just found it! Cool....

patrick295767 05-18-2013 12:08 AM

Quote:

Originally Posted by Thor_2.0 (Post 4951152)
...and do rewrites. Remember, us Linuxeans live...in the console... :)
I HAVE to dig up that yellow one too...why not. Should be fun, maybe to use Python or PERL instead of BASIC...I doubt that BASIC is even available/practical in Linux...
Edit - maybe this could be a great opportunity to learn ncurses... :)
Edit 2 - man, I cant find the blasted book... :D
Edit 3 - Gottit, just found it! Cool....

Quote:

Originally Posted by Thor_2.0 (Post 4951152)
...Should be fun, maybe to use Python

Are you crazy Python? :) I would recommend you to learn of C or C++. You will not regret it, definitely. C is the very best language after BASIC. Unix and C are strongly connected. C is fascinating.

EDIT3: you have got a cover or a link? It is quite interesting. I would like to reproduce those simple programs in the C language.

where is my pink book? ;)

edit: https://www.google.com/search?q=basic+80+programs+book
(nice remembering if you click on images)
edit2: I just found a nice basic start in coding, which may eventually be interesting for you, if desired to start with C: http://www.youtube.com/watch?v=zjyR9e-N1D4

ButterflyMelissa 05-18-2013 07:11 AM

Quote:

I would recommend you to learn of C or C++. You will not regret it
Dont I know it :(. I'm a programmer, but C++ was scrapped from the course in favor of ... dot net (go figure :doh: ) so, I'm basically a car mechanic that does'nt know how to change a tire...:banghead: That's the belgian educational system, or better the school at geel (at town in belgium)...

But, granted, C++ is THE language to learn anyway...

The book was by David Ahl, there seemt to be a re-issue...

Thor

patrick295767 05-18-2013 10:36 AM

Quote:

Originally Posted by Thor_2.0 (Post 4953654)
Dont I know it :(. I'm a programmer, but C++ was scrapped from the course in favor of ... dot net (go figure :doh: ) so, I'm basically a car mechanic that does'nt know how to change a tire...:banghead: That's the belgian educational system, or better the school at geel (at town in belgium)...

But, granted, C++ is THE language to learn anyway...

The book was by David Ahl, there seemt to be a re-issue...

Thor

C and Westmalle Triple should be an obligation to learn ;)

ButterflyMelissa 05-19-2013 04:13 AM

Quote:

C and Westmalle Triple should be an obligation to learn
Ah, hmm, there could be a glitch here. Okay on the C, the Westmalle, that's a snag. I'm smell deaf (no kidding :) ) and thus dont taste anything either. Fish and meat, impossible to tell the difference. Beer (and alcohol in general) is somewhat tricky for me :D I'd never graduate!!!
Always admired the people that could tell the difference between this of that wine, impossible fo me....eh, I dont miss that...there's more cool stuff to experience :D


All times are GMT -5. The time now is 07:19 PM.