All Projects → Nekurone → pendfetch

Nekurone / pendfetch

Licence: GPL-3.0 license
Double Pendulum visualised with fetching system information in Python.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to pendfetch

gomphotherium
Gomphotherium (/ˌɡɒmfəˈθɪəriəm/; "welded beast"), a command line Mastodon client.
Stars: ✭ 22 (-64.52%)
Mutual labels:  commandline, rice, terminal-based
Zeus
🔭 A modern cross platform `ls` with powerful searching and querying capabilities to scale your productivity to the moon 🚀 (and yeah it has file explorer like capabilities too 🤫)
Stars: ✭ 75 (+20.97%)
Mutual labels:  commandline, terminal-based
cmdr
POSIX-compliant command-line UI (CLI) parser and Hierarchical-configuration operations
Stars: ✭ 94 (+51.61%)
Mutual labels:  commandline, commandline-interface
Pxltrm
🖌️ pxltrm - [WIP] A pixel art editor inside the terminal
Stars: ✭ 459 (+640.32%)
Mutual labels:  commandline, commandline-interface
outfancy
Python3 library to print tables in Terminal.
Stars: ✭ 47 (-24.19%)
Mutual labels:  ascii, terminal-based
cliar
Create modular Python CLIs with type annotations and inheritance
Stars: ✭ 47 (-24.19%)
Mutual labels:  commandline, commandline-interface
Tsukae
🧑‍💻📊 Show off your most used shell commands
Stars: ✭ 345 (+456.45%)
Mutual labels:  commandline, terminal-based
dotfiles
My awesomewm dotfiles for awesome people! ✨
Stars: ✭ 1,764 (+2745.16%)
Mutual labels:  rice, ricing
Gitviper
Enhanced git experience using the command line
Stars: ✭ 35 (-43.55%)
Mutual labels:  commandline, commandline-interface
Manage
Command Line Manager + Interactive Shell for Python Projects
Stars: ✭ 111 (+79.03%)
Mutual labels:  commandline, commandline-interface
Comfy Table
🔶 Build beautiful terminal tables with automatic content wrapping
Stars: ✭ 156 (+151.61%)
Mutual labels:  commandline, commandline-interface
dynamic-cli
A Modern, user-friendly command-line HTTP client for the API testing, and if you're stuck - Search and browse StackOverflow without leaving the CLI
Stars: ✭ 151 (+143.55%)
Mutual labels:  commandline, terminal-based
The Glorious Dotfiles
A glorified personal dot files
Stars: ✭ 1,850 (+2883.87%)
Mutual labels:  rice, ricing
Winfetch
🛠 A command-line system information utility written in PowerShell. Like Neofetch, but for Windows.
Stars: ✭ 189 (+204.84%)
Mutual labels:  commandline, system-information
dotfiles
💻 🍚 🔳 🔲 My riced-up Kali dotfiles – off-white | dark leet | chrome lambo
Stars: ✭ 55 (-11.29%)
Mutual labels:  rice, ricing
Imag
imag - Text based personal information management suite
Stars: ✭ 318 (+412.9%)
Mutual labels:  commandline, commandline-interface
i3blocks-crypto
💵 View your favorite coins' ticker prices with i3blocks.
Stars: ✭ 30 (-51.61%)
Mutual labels:  rice, ricing
nyoom.nvim
Blazing fast, configurable, minimal and lispy neovim config written in Fennel and Rust. Base config for users to extend and add upon, leading to a more unique editing experience. (🚀)
Stars: ✭ 304 (+390.32%)
Mutual labels:  rice, ricing
Socli
Stack overflow command line client. Search and browse stack overflow without leaving the terminal 💻
Stars: ✭ 911 (+1369.35%)
Mutual labels:  commandline, commandline-interface
Reactopt
A CLI React performance optimization tool that identifies potential unnecessary re-rendering
Stars: ✭ 1,975 (+3085.48%)
Mutual labels:  commandline, commandline-interface

Header image: Pendfetch

Show off your terminal, in style.

Build with <3 Made with python 

Code style: black   Twitter   PyPI version

A nice relaxing double pendulum simulation using ASCII, able to simulate multiple pendulums at once, and provide tracing of pendulums as well as providing some system information. If you spot any bugs or features that need adding (especially with the specs), just open an issue :)

Demo Gif

Features

  • As mentioned, able to simulate multiple pendulums at once.
  • Able to specify the weight and mass of pendulums to create different butterfly effects.
  • Uses equations from here.
  • If -s is used, it grabs system specs and displays them.(hi r/unixporn)
  • Obviously a lot could be done to it (see below the Args), Any contributions are appreciated)

Quickstart:

Dependencies: Python 3.2+,curses (standard on UNIX) or relevent windows port, psutils if you want to use -s

Github

  • Clone using https://github.com/Nekurone/pendfetch.git or download the zip.
  • Extract if necessary and head inside the folder.
  • python3 pendulum.py [args]

Pip

  • python3 -m pip install pendfetch (or pip install pendfetch)
  • pendfetch [args]

Don't forget to include -s for neofetch feature :)

Args

Visuals

Maths and Pendulum settings

Window settings

Visuals

--help (-h)

Spits out a fairly standard argparse help message. Note this is printed out when the program is run anyway.
type: None, default: None setting in example: -h

--trace (-t)

Enables 'tracing', a faint line behind the pendulums that fades.
type: bool, default: off, setting in example: -t

--traceDrop (-tD)

Controls the rate at which the trace from -t fades. Higher is faster fading.
type: float, default: 1.0, setting in example: -t -tD 0.5

--specs (-t)

Enables showing system info, note this feature is still a WIP, any bugs or issues just let me know.
type: bool, default: off, setting in example: -s

Maths and Pendulum Settings

--pendulum (-p)

Number of pendulums to simulate at once. Combine with the gravity settings and some speed settings for some really pretty visuals.
type: int, default: 1, setting in example: -p 300

--speed (-sP)

Multiplier for speed of simulation. Around 0.5-1.5 is a good range
type: float, default: 1.0, setting in example: -sP 3.0

--gravity(-g)

Controls the strength of gravity, note, this directly affects the speed of the simulation. So slowing down is recommended.
type: float, default: 9.81, setting in example: -g 1

--mass (-m)

Controls the mass of the pendulums, useful mostly for butterfly effects
type: float, default: 100.0, setting in example: -m 300 -sP 0.2

--length (-l)

Controls the length of the arms of the pendulums, useful mostly for butterfly effects
type: float, default: 250.0, setting in example: -l 150 -sP 0.3

todo: Window settings

If you have any suggestions, or anything you'd like to add (or, more likely you found a bug) just open a PR :)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].