Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sontek/snowmachine
A python script that allows your terminal to snow.
https://github.com/sontek/snowmachine
Last synced: 5 days ago
JSON representation
A python script that allows your terminal to snow.
- Host: GitHub
- URL: https://github.com/sontek/snowmachine
- Owner: sontek
- License: bsd-3-clause
- Created: 2013-01-07T01:47:30.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2024-12-23T01:16:37.000Z (about 2 months ago)
- Last Synced: 2025-02-03T10:01:49.411Z (12 days ago)
- Language: Python
- Size: 273 KB
- Stars: 594
- Watchers: 8
- Forks: 34
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
- awesome-terminal-art - snowmachine
- awesome - sontek/snowmachine - A python script that allows your terminal to snow. (Python)
README
snowmachine
=======A python script that allows your terminal to snow. View it in action here:
* https://asciinema.org/a/624427
* https://asciinema.org/a/376826
* https://asciinema.org/a/376827*homebrew*:
```bash
brew tap sontek/snowmachine
brew install sontek/snowmachine/snowmachine
```*pypi*:
```bash
pip install snowmachine
```*nix*:
```bash
nix-shell -p snowmachine --command snowmachine
```*docker*:
```bash
docker run --rm -ti sontek/snowmachine
```Getting Started
---------------
You can make it snow:```bash
$ snowmachine snow
```or render a tree:
```bash
$ snowmachine tree
```You can also tell it to stack the snow if you prefer.
```bash
$ snowmachine snow --stack=pile
```If you don't like the unicode particles you can tell it to use
asterisk or some other character. If you use cmd.exe for example,
this will be required.```bash
$ snowmachine snow --stack=pile --particle="*"
```You can also change the particle colors if you would like:
```bash
$ snowmachine snow --color=rainbow
```In addition you can change the speed of particles:
```bash
$ snowmachine --speed=5
```You can find a bash(shell) script version of this here:
https://gist.github.com/sontek/1505483Screenshot:
![Screenshot 1](https://i.imgur.com/r8MRa17.png)
![Screenshot 2](https://i.imgur.com/d8rH4de.png)## Star Options
The Christmas tree can now be decorated with different star styles on top. Use the `--star` option with the `tree` command to add a star. Available styles are:
- `classic`: A traditional 5-point star pattern made with asterisks
- `diamond`: A diamond-shaped star pattern
- `patrick`: A playful star pattern resembling a starfishExample usage:
```bash
$ snowmachine tree --star=classic
```