sontek/snowmachine
حول
برنامج نصي بلغة Python يتيح إضافة تأثير تساقط الثلج إلى الطرفية.
أدوات التطويرالنمو المقاس للنجوم
- خلال 24 ساعة
- ٠
- خلال 7 أيام
- ٠
- خلال 15 يومًا
- ٠
- خلال شهر
- جارٍ جمع السجل
تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.
README.md
الأصلsnowmachine
A python script that allows your terminal to snow. View it in action here:
homebrew:
brew tap sontek/snowmachine
brew install sontek/snowmachine/snowmachine
pypi:
pip install snowmachine
nix:
nix-shell -p snowmachine --command snowmachine
docker:
docker run --rm -ti sontek/snowmachine
Getting Started
You can make it snow:
$ snowmachine snow

or render a tree:
$ snowmachine tree

You can also tell it to stack the snow if you prefer.
$ 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.
$ snowmachine snow --stack=pile --particle="*"
You can also change the particle colors if you would like:
$ snowmachine snow --color=rainbow
In addition you can change the speed of particles:
$ snowmachine --speed=5
You can find a bash(shell) script version of this here: https://gist.github.com/sontek/1505483
Screenshot:

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 asterisksdiamond: A diamond-shaped star patternpatrick: A playful star pattern resembling a starfish
Example usage:
$ snowmachine tree --star=classic
استكشف مشاريع مشابهة ومرتبطة
جارٍ التحميل…