Code Monkey home page Code Monkey logo

asciiquarium's Introduction

                              Asciiquarium v1.1
                    by Kirk Baucom <[email protected]>
                          http://www.robobunny.com

Asciiquarium is an aquarium/sea animation in ASCII art.

Installation
------------

Asciiquarium is a single perl script, so all you have to do is make sure
it's executable and put it somewhere convenient, like /usr/local/bin or
/usr/local/games.

  Ubuntu
  ------

  Out-of-the-box ubuntu doesn't satisfy the Requirements below, so
  here's how to get them:
  1) Get perl's curses package which is available from apt:
       sudo apt-get install libcurses-perl
  2) Run
       cpan
     at the shell.  Agree to the defaults for everything.
     To leave cpan, type 
       quit
  3) Type
    sudo cpan Term::Animation

Requirements
------------

You must have the Term::Animation module, which you can get from
http://www.cpan.org. The Term::Animation module also requires the Curses
module, which you can also get from CPAN. This program will only run on
platforms that have a Curses library (so it won't work on Windows, but
you might get it to run under cygwin).

Usage
-----

Command line arguments:
	-c	"classic" mode, only show species from Asciiquarium 1.0

While running:
	q	quit
	r	redraw (will recreate all entities)
	p	toggle pause

Contributors
------------

New fish species backported from the Android live wallpaper and
other minor improvements by Claudio Matsuoka.

Pretty much all of the ASCII art was done by Joan Stark:
http://www.geocities.com/SoHo/7373/

Anything that she didn't do, I don't have a source for.

asciiquarium's People

Contributors

cmatsuoka avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

asciiquarium's Issues

Debian 13 "trixie" fails to run

Thank you for a fun little script!

On my current Debian setup, asciiquarium fails to load. I have ncurses 6.4 installed (6.4+20240113-1 as per the Debian package), and Perl 5.38 installed. However, asciiquarium aborts with the following error:

  • CursesBoot.c: loadable library and perl binaries are mismatched (got first handshake key 0xeb80080, needed 0xf380080)

This is on Debian 13 "trixie", which is the current testing version. Perhaps the script needs to be updated and adjusted for newer versions of Perl and ncurses?

Background color

I can't seem to figure out where this is set in the code.
would like to change it to use my terminals background color
or make an argument -b to disable it.

macos ventura fail to run

Thanks for your amazing work!
I'm using macos ventura(13.3.1) and installed asciiquarium using homebrew(https://formulae.brew.sh/formula/asciiquarium#default).
I have exact requirements(ncurses 6.4 and perl 5.36.0) but still get error when trying to run asciiquarium.
/CursesBoot.c: loadable library and perl binaries are mismatched (got handshake key 0xfc00080, needed 0xc700080)

How about some lemmings?

If you watch the old DOS demo called Fishtro by Future Crew, every once in a while a lemming (from Lemmings) goes swimming across the screen. I always thought that this would be a nice addition (or perhaps an easter egg) to asciiquarium.

Changing color scheme

I'm using the iTerm2 terminal for Mac, and I have a custom color scheme selected that mainly uses shades of yellow and gray.

When I load up asciiquarium, it is just yellow and gray like my color scheme

Does anyone know how I can load it, and see all the different colors it's supposed to have, without changing my terminal color scheme?

https://ibb.co/3fTLVbc

Segfault on Big Sur

I get a segmentation fault on zsh on Big Sur. Is there anything I should update myself?

$ asciiquarium
[1]    62316 segmentation fault  asciiquarium

re release for new android versions

Hi Claudio, this work is excellent and I've been using this wallpaper for like 4 years and it has been the best live-wallpaper-years of my life.
Now I'm using an android 11 phone and the app does not run and can't be found on the play store. Please could you re-release this marvelous work?

memory leaks

After 35 day of uptime RES=921M:

    PID USER      PRI  NI  VIRT   RES   SHR S CPU% MEM%▽  TIME+  Command                                                                                                                 
    611 root       20   0  927M  921M  4948 R 72.5 11.7     480h perl /usr/bin/asciiquarium

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.