Git Product home page Git Product logo

termdvd's Introduction

termdvd

A program that simulates the DVD video screensaver in the terminal.

Now even people without a display server can enjoy the thrill of watching the DVD icon hit the corner. Amazing!

Compatability info

This program requires at least Python version 3.3. If you attempt to run this program on Python 3.2 or lower, it will not work. In a future release, I may get support for older Python 3 versions working. However, I have no plans for getting Python 2 support.

If you're using a Unix system (like Linux, macOS, BSD, etc.), the program should work just fine.

If you're using a Windows system, the program should work on Windows XP or newer, but you'll need to install the colorama python module first. This can be done using pip, with the following command:

pip install colorama

You can learn more about colorama here: https://pypi.org/project/colorama

Getting the application

Before downloading the program, make sure you have the correct version of Python on your machine. (see "compatibility info" above.)

To download the program, go to a command line and clone the repository using git:

git clone https://github.com/MrCatFace8885/termdvd

Alternatively, you can also click the green "clone or download" button, and then click "Download ZIP" if you're in a web browser.

To run the program, cd to the directory in the command line (if you used git to download it then just type cd termdvd), and then run the program. (type ./termdvd.py on a Unix or Unix-like system, or termdvd.py on a Windows system.)

Command line arguments

When no arguments are given to termdvd, the region where the DVD icon bounces around is set to 20 rows and 40 columns by default. If you want the DVD screen to be a diffrent size, it can be changed by typing the row count and then the column count as command line arguments. For example:

termdvd.py 30 60

will make the DVD screen be 30 rows long and 60 columns wide.

If you only want to change the row count, you only need to issue one argument. For example:

termdvd.py 30

will set the screen to 30 rows, but keep the column count at 40. However, if you want to issue a custom column count, you will need to issue both arguments.

There's also a few optional arguments. They are:

-h (--help): Displays command syntax and these arguments and then exits.
-v (--version): Displays the program's version number and then exits.
-c (--no_color): Makes the DVD icon only colored white.

Changes in version 2.1

  • Added compatability with older versions of Windows. (in other words, anything older than Windows 10)
  • The DVD icon looks slightly different now.
  • The program now displays my username correctly when the --version argument is given. It didn't in the previous version.

termdvd's People

Contributors

nyankittone avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

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.